Navigation
API > API/Runtime > API/Runtime/JsonUtilities > API/Runtime/JsonUtilities/FJsonObjectConverter > API/Runtime/JsonUtilities/FJsonObjectConverter/UStructToJsonObject
References
| Module | JsonUtilities |
| Header | /Engine/Source/Runtime/JsonUtilities/Public/JsonObjectConverter.h |
| Include | #include "JsonObjectConverter.h" |
template<typename InStructType>
static TSharedPtr< FJsonObject > UStructToJsonObject
&40;
const InStructType & InStruct,
int64 CheckFlags,
int64 SkipFlags,
const CustomExportCallback &42; ExportCb
&41;
Remarks
Templated version of UStructToJsonObject to try and make most of the params. Also serves as an example use case FJsonObject pointer. Invalid if an error occurred.
Parameters
| Name | Description |
|---|---|
| InStruct | The UStruct instance to read from |
| ExportCb | Optional callback to override export behavior, if this returns null it will fallback to the default |
| 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 |