FJsonObject::GetObjectField

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

Choose your operating system:

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.