FJsonObjectConverter::JsonArrayStringToUStruct

Converts from a json string containing an array to an array of UStructs

Windows
MacOS
Linux

References

Module

JsonUtilities

Header

/Engine/Source/Runtime/JsonUtilities/Public/JsonObjectConverter.h

Include

#include "JsonObjectConverter.h"

Syntax

template<typename OutStructType>
static bool JsonArrayStringToUStruct
(
    const FString & JsonString,
    TArray< OutStructType > * OutStructArray,
    int64 CheckFlags,
    int64 SkipFlags
)

Remarks

Converts from a json string containing an array to an array of UStructs

Returns

False if any properties matched but failed to deserialize.

Parameters

Parameter

Description

JsonString

String containing JSON formatted data.

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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback