Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/JsonUtilities/Public/JsonObjectConverter.h |
Include |
#include "JsonObjectConverter.h" |
Templated version; Converts from a UStruct to a json string containing an object, using exportText
False if any properties failed to write
Parameter |
Description |
---|---|
InStruct |
The UStruct instance to copy out of |
OutJsonString |
Json Object to be filled in with data from the ustruct |
CheckFlags |
Only convert properties that match at least one of these flags. If 0 check all properties. |
SkipFlags |
Skip properties that match any of these flags |
Indent |
How many tabs to add to the json serializer |
ExportCb |
Optional callback to override export behavior, if this returns null it will fallback to the default |
bPrettyPrint |
Option to use pretty print (e.g., adds line endings) or condensed print |