FJsonValueNumber

A Json Number Value.

Windows
MacOS
Linux

Inheritance Hierarchy

FJsonValue

FJsonValueNumber

References

Module

Json

Header

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

Include

#include "Dom/JsonValue.h"

Syntax

class FJsonValueNumber : public FJsonValue

Remarks

A Json Number Value.

Variables

Name Description

Protected variable

double

 

Value

Constructors

Name Description

Public function

FJsonValueNumber

(
    double InNumber
)

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss