FJsonValue::AsNumber

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

Choose your operating system:

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