FJsonValueNumberString

A Json Number Value, stored internally as a string so as not to lose precision

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FJsonValue

FJsonValueNumberString

References

Module

Json

Header

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

Include

#include "Dom/JsonValue.h"

Syntax

class FJsonValueNumberString : public FJsonValue

Remarks

A Json Number Value, stored internally as a string so as not to lose precision

Variables

Name Description

Protected variable

FString

 

Value

Constructors

Name Description

Public function

FJsonValueNumberString

(
    const FString& InString
)

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

(
    float& OutNumber
)

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

Public function Virtual Const

bool

 

TryGetNumber

(
    int8& OutNumber
)

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

Public function Virtual Const

bool

 

TryGetNumber

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

(
    int64& OutNumber
)

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

Public function Virtual Const

bool

 

TryGetNumber

(
    uint8& OutNumber
)

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

Public function Virtual Const

bool

 

TryGetNumber

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

(
    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