UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FJsonValueBoolean Class Reference

#include <JsonValue.h>

+ Inheritance diagram for FJsonValueBoolean:

Public Member Functions

JSON_API FJsonValueBoolean (bool InBool)
 
virtual JSON_API ~FJsonValueBoolean ()
 
virtual JSON_API bool TryGetNumber (double &OutNumber) const override
 
virtual JSON_API bool TryGetBool (bool &OutBool) const override
 
virtual JSON_API bool TryGetString (FString &OutString) const override
 
virtual JSON_API bool TryGetUtf8String (FUtf8String &OutString) const override
 
virtual JSON_API SIZE_T GetMemoryFootprint () const override
 
- Public Member Functions inherited from FJsonValue
JSON_API double AsNumber () const
 
JSON_API FString AsString () const
 
JSON_API FUtf8String AsUtf8String () const
 
JSON_API bool AsBool () const
 
JSON_API const TArray< TSharedPtr< FJsonValue > > & AsArray () const
 
virtual JSON_API const TSharedPtr< FJsonObject > & AsObject () const
 
virtual JSON_API bool TryGetNumber (float &OutNumber) const
 
virtual JSON_API bool TryGetNumber (int8 &OutNumber) const
 
virtual JSON_API bool TryGetNumber (int16 &OutNumber) const
 
virtual JSON_API bool TryGetNumber (int32 &OutNumber) const
 
virtual JSON_API bool TryGetNumber (int64 &OutNumber) const
 
virtual JSON_API bool TryGetNumber (uint8 &OutNumber) const
 
virtual JSON_API bool TryGetNumber (uint16 &OutNumber) const
 
virtual JSON_API bool TryGetNumber (uint32 &OutNumber) const
 
virtual JSON_API bool TryGetNumber (uint64 &OutNumber) const
 
virtual JSON_API bool TryGetArray (const TArray< TSharedPtr< FJsonValue > > *&OutArray) const
 
virtual JSON_API bool TryGetArray (TArray< TSharedPtr< FJsonValue > > *&OutArray)
 
virtual JSON_API bool TryGetObject (const TSharedPtr< FJsonObject > *&Object) const
 
virtual JSON_API bool TryGetObject (TSharedPtr< FJsonObject > *&Object)
 
virtual JSON_API bool PreferStringRepresentation () const
 
bool IsNull () const
 
void AsArgumentType (double &Value)
 
void AsArgumentType (FString &Value)
 
void AsArgumentType (bool &Value)
 
void AsArgumentType (TArray< TSharedPtr< FJsonValue > > &Value)
 
void AsArgumentType (TSharedPtr< FJsonObject > &Value)
 

Protected Member Functions

virtual JSON_API FString GetType () const override
 
- Protected Member Functions inherited from FJsonValue
JSON_API FJsonValue ()
 
virtual JSON_API ~FJsonValue ()
 
JSON_API void ErrorMessage (const FString &InType) const
 

Protected Attributes

bool Value
 

Additional Inherited Members

- Static Public Member Functions inherited from FJsonValue
static JSON_API TSharedPtr< FJsonValueDuplicate (const TSharedPtr< const FJsonValue > &Src)
 
static JSON_API TSharedPtr< FJsonValueDuplicate (const TSharedPtr< FJsonValue > &Src)
 
static JSON_API bool CompareEqual (const FJsonValue &Lhs, const FJsonValue &Rhs)
 
- Public Attributes inherited from FJsonValue
EJson Type
 

Detailed Description

A Json Boolean Value.

Constructor & Destructor Documentation

◆ FJsonValueBoolean()

FJsonValueBoolean::FJsonValueBoolean ( bool  InBool)

◆ ~FJsonValueBoolean()

FJsonValueBoolean::~FJsonValueBoolean ( )
virtualdefault

Member Function Documentation

◆ GetMemoryFootprint()

SIZE_T FJsonValueBoolean::GetMemoryFootprint ( ) const
overridevirtual

Returns the memory footprint for this object in Bytes, including sizeof(*this) and allocated memory. All children should implement this so their memory layout is properly accounted for

Reimplemented from FJsonValue.

◆ GetType()

FString FJsonValueBoolean::GetType ( ) const
overrideprotectedvirtual

Implements FJsonValue.

◆ TryGetBool()

bool FJsonValueBoolean::TryGetBool ( bool OutBool) const
overridevirtual

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

Reimplemented from FJsonValue.

◆ TryGetNumber()

bool FJsonValueBoolean::TryGetNumber ( double OutNumber) const
overridevirtual

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

Reimplemented from FJsonValue.

◆ TryGetString()

bool FJsonValueBoolean::TryGetString ( FString &  OutString) const
overridevirtual

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

Reimplemented from FJsonValue.

◆ TryGetUtf8String()

bool FJsonValueBoolean::TryGetUtf8String ( FUtf8String OutString) const
overridevirtual

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

Reimplemented from FJsonValue.

Member Data Documentation

◆ Value

bool FJsonValueBoolean::Value
protected

The documentation for this class was generated from the following files: