Was the JsonUtilities API depreciated in 4.1?
I have a lot of Json formatted data (contained in text files) I'd like to import for further runtime processing. As a base I started with this post here. Sadly the compilator throw an error and do not recognize the Module API Specifiers. My platform is OS X (XCode).
Thanks by advance, and "bravo" UE4 is really wonderful (even more with full Linux support)!
Update As noted above, when attempting to package your project for release it may fail to complete due to linker errors if you use the public release the engine (any version it seems). The workaround seems to be to include files from the "Engine\Source\Runtime\JsonUtilities" folder in the engine source tree for your version. Or you can as I did, compile a complete version of the engine and run from the editor it produces.
I know this is a few months old, but in case anyone else had this problem here are a few things to get you started.
First, make sure in your ProjectName.Build.cs file that you've added "JsonUtilities" to the PublicDependencyModuleNames collection
And second, make sure you add the full-ish include path wherever you're using it in your code file (.cpp):
A example use case: to call UStructToJsonObjectString, just make sure your struct was marked with USTRUCT() and...
in FStringToStoreItIn you should have a JSON formatted string! Enjoy.
Follow this question
Once you sign in you will be able to subscribe for any updates here