FJsonObjectConverter::JsonValueToUProperty

Converts a single JsonValue to the corresponding [UProperty](API\Runtime\CoreUObject\UObject\UProperty) (this may recurse if the property is a [UStruct](API\Runtime\CoreUObject\UObject\UStruct) for instance).

Windows
MacOS
Linux

References

Module

JsonUtilities

Header

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

Include

#include "JsonObjectConverter.h"

Source

/Engine/Source/Runtime/JsonUtilities/Private/JsonObjectConverter.cpp

Syntax

static bool JsonValueToUProperty
(
    const TSharedPtr< FJsonValue > & JsonValue,
    UProperty * Property,
    void * OutValue,
    int64 CheckFlags,
    int64 SkipFlags
)

Remarks

Converts a single JsonValue to the corresponding UProperty (this may recurse if the property is a UStruct for instance).

Returns

False if the property failed to serialize

Parameters

Parameter

Description

JsonValue

The value to assign to this property

Property

The UProperty definition of the property we're setting.

OutValue

Pointer to the property instance to be modified.

CheckFlags

Only convert sub-properties that match at least one of these flags. If 0 check all properties.

SkipFlags

Skip sub-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