FJsonObject::TryGetBoolField

Get the field named FieldName as a string.

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

bool TryGetBoolField
(
    const FString & FieldName,
    bool & OutBool
) const

Remarks

Get the field named FieldName as a string. Returns false if it doesn't exist or cannot be converted.