FJsonValueString

A Json String Value.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FJsonValue

FJsonValueString

References

Module

Json

Header

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

Include

#include "Dom/JsonValue.h"

Syntax

class FJsonValueString : public FJsonValue

Remarks

A Json String Value.

Variables

Name Description

Protected variable

FString

 

Value

Constructors

Name Description

Public function

FJsonValueString

(
    const FString& InString
)

Functions

Name Description

Public function Const

bool

 

IsEmpty()

Way to check if string value is empty without copying the string.

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

 

TryGetNumber

(
    int32& OutNumber
)

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

Public function Virtual Const

bool

 

TryGetNumber

(
    uint32& OutNumber
)

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

Public function Virtual Const

bool

 

TryGetNumber

(
    int64& OutNumber
)

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

Public function Virtual Const

bool

 

TryGetNumber

(
    uint64& 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