UE4’s reflection system requires references, declared by the UFUNCTION/UCLASS/USTRUCT/UENUM macros, to be derived from UObjects. Your functions are returning/taking FJsonObject, which does not inherit from UObject. If you want to use FJsonObjects with the reflection system or blueprints you’re going to have to make a wrapper class that inherits from UObject. Vladimir Alyamkin wrote a pretty good plugin for blueprintable json objects that you can find and refer to here.
1 Like