Thanks. Can’t run it on 4.9, it says plugin incompatible
Any fix to this?
Just adding +1 request for some super-awesome dev to be nice enough to compile this for 4.11, for us poor non-code-project plebs
EDIT: nm, realized I’m fighting a losing battle after reading this thread. I just have to convert to being a code project if I want to use a plugin (goodbye easy iOS builds). The good news is, the plugin built fine without any changes, once I installed VS2015 and made a code project with the plugin source there.
bug function from string. LogJson:Error: Entry ‘Command’ not found in the field data!
string: {“Command”: “JoinRoom”}
Guys, I’ve updated the binaries of the plugin to 4.11.2.
Also changed one deprecated functions so the plugin keeps working on future versions (the source, at least).
Thanks OP for this! =D
Hi Stefander…
First thanks because of publishing this helpful plugin.
I try to use this plugin and for a object the plugin works fine,
The problem is my file usually includes array not object, for example:
{“id”:“1”,“name”:“Joe”,“famil”:“Smith”},{“id”:“2”,“name”:“John”,“famil”:“Bell”}]
and using this plugin nothing is returned to me.
Can you help me with this please?
Thanks in advance
for those who have my problem.
I use Va-Rest plugin which can be download from https://github.com/ufna/VaRest
my data is in the form of
{“result”:{“id”:“1”,“name”:“Ali”,“famil”:“Akbari”},{“id”:“2”,“name”:“Ahmad”,“famil”:“Majidi”}]}
After adding VaRest plugin to unreal , by using these blueprints I succeed to do what I want.
hope this will help to others
Thanks @RVillani! Compiles for me in 4.12.5 as well.
can anyone reupload RVillani’s version? The link in his last post is dead
I’ve fixed the link. Sorry! It broke due to drastic changes in my personal page.
thanks RVillani, appreciate it!
I’ve added the plugin to the plugin folder. I enabled it and restarted the editor. Now I get the error UE4Editor-JSONQuery.dll cant be found. Would you like to rebuild now. If I click Yes, It says my project cant be compiles and i should try to rebuild manually from source. How do I fix this? I cant Disable the plugin because it wont let me start up my projects.
Open the VisualStudio solution (.sln) of your project and build it from VisualStudio pressing Ctrl+Shift+B. You’ll be able to see why the build fails on the Output window. If you want to build and launch afterwards, press F5 instead of Ctrl+Shift+B
UPDATED to 4.14 and added some stuff
UPDATE!
First of all, thanks to @Stefander for creating this great plugin in a way that’s very easy to use!
I’ve made some changes and updates to the plugin. Binaries in the zip are compiled for UE 4.14.0, but it also compiles without errors since UE 4.11.
Download: JSONQuery_UE4.14.0.zip
If you’re willing to update it on an existing project, pay attention to the changes below, as some methods were renamed/replaced.
CHANGE LOG
- Add category **** to JsonFieldData class.
- Rename methods that work with object fields (eg. Add Data Field to Add Object Field). “Data” seemed a bit confusing to me as it’s the name of the class.
- Add method PostRequestWithFile (Post Request and File in BP) that requests a POST with data along with some file.
- Add enum EJSONResult to describe the status of a completed POST/GET call.
- OnFailedEvent is replaced with OnGetResult. It has an EJSONResult parameter to describe POST/GET call result as well as a bool for quick Branch testing. It’s called either on fail or success, so now you have a single event to check if the request worked or not and act accordingly.
- ToString() method is now ** To String** in BP and node looks like the other cast nodes in Unreal (•)
- Create() method is now **Create ** in BP.
- FromString() and FromFile() methods now return a bool, so caller knows if they worked.
- The class instance is now added to root to avoid garbage collection when used without variable references. It’s automatically removed from root once the request completes.
Awesome! Thanks RVillani!
Is that plugin free?
Totally
You can even alter it for your needs if you want to. And if you make it better, please post it here!
Thanks again for this - I’ve used it for my leaderboards (in combination with Dreamlo.com)
Works great on PC but does seem to crash on iOS for me (seems like it’s crashing on garbage collect after having done a request)… tried all sorts of stuff to no avail, so ended up having to skip these leaderboards on the iOS version. The request is to a https address, if that makes any difference (some platform security thing maybe?).
Hi guys,
how can I parse a from file through blueprints?
There’s a FromFile function in the plugin. It does just that. First create an instance of the class using the **Create ** function.
Thank you for those changes @RVillani, they’re great! I made a pull request to update the GitHub version with your changes: Update with RVillani's changes, add README by soundasleep · Pull Request #1 · marynate/JSONQuery_UE4 · GitHub</
I had a go at rebuilding the plugin, as well, for Unreal Engine 4.15.0, as the older versions were throwing me an “Missing or Invalid Modules” error.
You can download it here: https://github.com/soundasleep/JSONQuery_UE4/blob/binaries/JSONQuery_UE4_4.15.zip?raw=true