UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FJsonSerializerPolicy_NestedVariant Struct Reference

#include <NestedVariantJson.h>

Classes

struct  FElement
 
struct  StackState
 

Public Types

using FValue = FNestedVariantJson::FValue
 
using FArrayOfValues = FNestedVariantJson::FArrayPtr
 
using FMapOfValues = FNestedVariantJson::FMapPtr
 

Static Public Member Functions

static COREONLINE_API bool GetValueFromState (const StackState &State, FValue &OutValue)
 
static COREONLINE_API bool GetValueFromState (const StackState &State, FArrayOfValues &OutArray)
 
static COREONLINE_API bool GetValueFromState (const StackState &State, FMapOfValues &OutMap)
 
static COREONLINE_API void ResetValue (FValue &OutValue)
 
static COREONLINE_API void ReadObjectStart (StackState &State)
 
static COREONLINE_API void ReadObjectEnd (StackState &State, FValue &OutValue)
 
static COREONLINE_API void ReadArrayStart (StackState &State)
 
static COREONLINE_API void ReadArrayEnd (StackState &State, FValue &OutValue)
 
template<class CharType >
static void ReadBoolean (TJsonReader< CharType > &Reader, FValue &OutValue)
 
template<class CharType >
static void ReadString (TJsonReader< CharType > &Reader, FValue &OutValue)
 
template<class CharType >
static void ReadNumberAsString (TJsonReader< CharType > &Reader, FValue &OutValue)
 
template<class CharType >
static bool IsNumberStringInteger (const CharType *Str)
 
template<class CharType >
static void ReadNumber (TJsonReader< CharType > &Reader, FValue &OutValue)
 
static void ReadNull (FValue &OutValue)
 
static void AddValueToObject (StackState &State, const FString &Identifier, FValue &NewValue)
 
static void AddValueToArray (StackState &State, FValue &NewValue)
 
template<class CharType , class PrintPolicy >
static bool SerializeIfBool (TSharedRef< FElement > &Element, TJsonWriter< CharType, PrintPolicy > &Writer, bool bWriteValueOnly)
 
template<class CharType , class PrintPolicy >
static bool SerializeIfNumber (TSharedRef< FElement > &Element, TJsonWriter< CharType, PrintPolicy > &Writer, bool bWriteValueOnly)
 
template<class CharType , class PrintPolicy >
static bool SerializeIfString (TSharedRef< FElement > &Element, TJsonWriter< CharType, PrintPolicy > &Writer, bool bWriteValueOnly)
 
template<class CharType , class PrintPolicy >
static bool SerializeIfNull (TSharedRef< FElement > &Element, TJsonWriter< CharType, PrintPolicy > &Writer, bool bWriteValueOnly)
 
template<class CharType , class PrintPolicy >
static bool SerializeIfArray (TArray< TSharedRef< FElement > > &ElementStack, TSharedRef< FElement > &Element, TJsonWriter< CharType, PrintPolicy > &Writer, bool bWriteValueOnly)
 
template<class CharType , class PrintPolicy >
static bool SerializeIfObject (TArray< TSharedRef< FElement > > &ElementStack, TSharedRef< FElement > &Element, TJsonWriter< CharType, PrintPolicy > &Writer, bool bWriteValueOnly)
 

Member Typedef Documentation

◆ FArrayOfValues

◆ FMapOfValues

◆ FValue

Member Function Documentation

◆ AddValueToArray()

void FJsonSerializerPolicy_NestedVariant::AddValueToArray ( StackState State,
FValue NewValue 
)
static

◆ AddValueToObject()

void FJsonSerializerPolicy_NestedVariant::AddValueToObject ( StackState State,
const FString &  Identifier,
FValue NewValue 
)
static

◆ GetValueFromState() [1/3]

bool FJsonSerializerPolicy_NestedVariant::GetValueFromState ( const StackState State,
FArrayOfValues OutArray 
)
static

◆ GetValueFromState() [2/3]

static COREONLINE_API bool FJsonSerializerPolicy_NestedVariant::GetValueFromState ( const StackState State,
FMapOfValues OutMap 
)
static

◆ GetValueFromState() [3/3]

bool FJsonSerializerPolicy_NestedVariant::GetValueFromState ( const StackState State,
FValue OutValue 
)
static

◆ IsNumberStringInteger()

template<class CharType >
static bool FJsonSerializerPolicy_NestedVariant::IsNumberStringInteger ( const CharType *  Str)
inlinestatic

◆ ReadArrayEnd()

void FJsonSerializerPolicy_NestedVariant::ReadArrayEnd ( StackState State,
FValue OutValue 
)
static

◆ ReadArrayStart()

void FJsonSerializerPolicy_NestedVariant::ReadArrayStart ( StackState State)
static

◆ ReadBoolean()

template<class CharType >
static void FJsonSerializerPolicy_NestedVariant::ReadBoolean ( TJsonReader< CharType > &  Reader,
FValue OutValue 
)
inlinestatic

◆ ReadNull()

void FJsonSerializerPolicy_NestedVariant::ReadNull ( FValue OutValue)
static

◆ ReadNumber()

template<class CharType >
static void FJsonSerializerPolicy_NestedVariant::ReadNumber ( TJsonReader< CharType > &  Reader,
FValue OutValue 
)
inlinestatic

◆ ReadNumberAsString()

template<class CharType >
static void FJsonSerializerPolicy_NestedVariant::ReadNumberAsString ( TJsonReader< CharType > &  Reader,
FValue OutValue 
)
inlinestatic

◆ ReadObjectEnd()

void FJsonSerializerPolicy_NestedVariant::ReadObjectEnd ( StackState State,
FValue OutValue 
)
static

◆ ReadObjectStart()

void FJsonSerializerPolicy_NestedVariant::ReadObjectStart ( StackState State)
static

◆ ReadString()

template<class CharType >
static void FJsonSerializerPolicy_NestedVariant::ReadString ( TJsonReader< CharType > &  Reader,
FValue OutValue 
)
inlinestatic

◆ ResetValue()

void FJsonSerializerPolicy_NestedVariant::ResetValue ( FValue OutValue)
static

◆ SerializeIfArray()

template<class CharType , class PrintPolicy >
static bool FJsonSerializerPolicy_NestedVariant::SerializeIfArray ( TArray< TSharedRef< FElement > > &  ElementStack,
TSharedRef< FElement > &  Element,
TJsonWriter< CharType, PrintPolicy > &  Writer,
bool  bWriteValueOnly 
)
inlinestatic

◆ SerializeIfBool()

template<class CharType , class PrintPolicy >
static bool FJsonSerializerPolicy_NestedVariant::SerializeIfBool ( TSharedRef< FElement > &  Element,
TJsonWriter< CharType, PrintPolicy > &  Writer,
bool  bWriteValueOnly 
)
inlinestatic

◆ SerializeIfNull()

template<class CharType , class PrintPolicy >
static bool FJsonSerializerPolicy_NestedVariant::SerializeIfNull ( TSharedRef< FElement > &  Element,
TJsonWriter< CharType, PrintPolicy > &  Writer,
bool  bWriteValueOnly 
)
inlinestatic

◆ SerializeIfNumber()

template<class CharType , class PrintPolicy >
static bool FJsonSerializerPolicy_NestedVariant::SerializeIfNumber ( TSharedRef< FElement > &  Element,
TJsonWriter< CharType, PrintPolicy > &  Writer,
bool  bWriteValueOnly 
)
inlinestatic

◆ SerializeIfObject()

template<class CharType , class PrintPolicy >
static bool FJsonSerializerPolicy_NestedVariant::SerializeIfObject ( TArray< TSharedRef< FElement > > &  ElementStack,
TSharedRef< FElement > &  Element,
TJsonWriter< CharType, PrintPolicy > &  Writer,
bool  bWriteValueOnly 
)
inlinestatic

◆ SerializeIfString()

template<class CharType , class PrintPolicy >
static bool FJsonSerializerPolicy_NestedVariant::SerializeIfString ( TSharedRef< FElement > &  Element,
TJsonWriter< CharType, PrintPolicy > &  Writer,
bool  bWriteValueOnly 
)
inlinestatic

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