Navigation
API > API/Runtime > API/Runtime/JsonUtilities > API/Runtime/JsonUtilities/FJsonObjectConverter > API/Runtime/JsonUtilities/FJsonObjectConverter/JsonObjectToUStruct
References
| Module | JsonUtilities |
| Header | /Engine/Source/Runtime/JsonUtilities/Public/JsonObjectConverter.h |
| Include | #include "JsonObjectConverter.h" |
| Source | /Engine/Source/Runtime/JsonUtilities/Private/JsonObjectConverter.cpp |
static bool JsonObjectToUStruct
&40;
const TSharedRef< FJsonObject > & JsonObject,
const UStruct &42; StructDefinition,
void &42; OutStruct,
int64 CheckFlags,
int64 SkipFlags,
const bool bStrictMode,
FText &42; OutFailReason
&41;
Remarks
Converts from a Json Object to a UStruct, using importText False if any properties matched but failed to deserialize
Parameters
| Name | Description |
|---|---|
| JsonObject | Json Object to copy data out of |
| StructDefinition | UStruct definition that is looked over for properties |
| OutStruct | The UStruct instance to copy in to |
| 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 |
| bStrictMode | Whether to strictly check the json attributes |
| OutFailReason | Reason of the failure if any |