Module |
|
Header |
/Engine/Source/Runtime/JsonUtilities/Public/JsonObjectConverter.h |
Include |
#include "JsonObjectConverter.h" |
template<typename OutStructType>
static bool JsonArrayToUStruct
(
const TArray< TSharedPtr< FJsonValue >> & JsonArray,
TArray< OutStructType > * OutStructArray,
int64 CheckFlags,
int64 SkipFlags
)
Converts from an array of json values to an array of UStructs.
False if any of the matching elements are not an object, or if one of the matching elements could not be converted to the specified UStruct type.
Parameter |
Description |
---|---|
JsonArray |
Array containing json values to convert. |
OutStructArray |
The UStruct array 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. |