FJsonValue::AsNumber

Returns this value as a double, logging an error and returning zero if this is not an Json Number

Windows
MacOS
Linux

References

Module

Json

Header

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

Include

#include "Dom/JsonValue.h"

Source

/Engine/Source/Runtime/Json/Private/Dom/JsonValue.cpp

Syntax

double AsNumber() const

Remarks

Returns this value as a double, logging an error and returning zero if this is not an Json Number

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