FJsonObject::GetObjectField

Gets the field with the specified name as a Json object.

Windows
MacOS
Linux

References

Module

Json

Header

/Engine/Source/Runtime/Json/Public/Dom/JsonObject.h

Include

#include "Dom/JsonObject.h"

Source

/Engine/Source/Runtime/Json/Private/Dom/JsonObject.cpp

Syntax

const TSharedPtr< FJsonObject > & GetObjectField
(
    const FString & FieldName
) const

Remarks

Gets the field with the specified name as a Json object.

Ensures that the field is present and is of type Json object.

Returns

The field's value as a Json object.

Parameters

Parameter

Description

FieldName

The name of the field to get.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss