FJsonValueBoolean

A Json Boolean Value.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FJsonValue

FJsonValueBoolean

References

Module

Json

Header

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

Include

#include "Dom/JsonValue.h"

Syntax

class FJsonValueBoolean : public FJsonValue

Remarks

A Json Boolean Value.

Variables

Name Description

Protected variable

bool

 

Value

Constructors

Name Description

Public function

FJsonValueBoolean

(
    bool InBool
)

Overridden from FJsonValue

Name Description

Protected function Virtual Const

FString

 

GetType()

Public function Virtual Const

bool

 

TryGetBool

(
    bool& OutBool
)

Tries to convert this value to a bool, returning false if not possible

Public function Virtual Const

bool

 

TryGetNumber

(
    double& OutNumber
)

Tries to convert this value to a number, returning false if not possible

Public function Virtual Const

bool

 

TryGetString

(
    FString& OutString
)

Tries to convert this value to a string, returning false if not possible