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

#include <JsonSerializer.h>

Classes

struct  FElement
 
struct  StackState
 

Public Types

using FValue = TSharedPtr< FJsonValue >
 
using FArrayOfValues = TArray< TSharedPtr< FJsonValue > >
 
using FMapOfValues = TSharedPtr< FJsonObject >
 

Static Public Member Functions

static JSON_API bool GetValueFromState (const StackState &State, FValue &OutValue)
 
static JSON_API bool GetValueFromState (const StackState &State, FArrayOfValues &OutArray)
 
static JSON_API bool GetValueFromState (const StackState &State, FMapOfValues &OutMap)
 
static JSON_API void ResetValue (FValue &OutValue)
 
static JSON_API void ReadObjectStart (StackState &State)
 
static JSON_API void ReadObjectEnd (StackState &State, FValue &OutValue)
 
static JSON_API void ReadArrayStart (StackState &State)
 
static JSON_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 void ReadNumber (TJsonReader< CharType > &Reader, FValue &OutValue)
 
static JSON_API void ReadNull (FValue &OutValue)
 
static JSON_API void AddValueToObject (StackState &State, const FString &Identifier, FValue &NewValue)
 
static JSON_API 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_JsonObject::AddValueToArray ( StackState State,
FValue NewValue 
)
static

◆ AddValueToObject()

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

◆ GetValueFromState() [1/3]

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

◆ GetValueFromState() [2/3]

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

◆ GetValueFromState() [3/3]

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

◆ ReadArrayEnd()

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

◆ ReadArrayStart()

void FJsonSerializerPolicy_JsonObject::ReadArrayStart ( StackState State)
static

◆ ReadBoolean()

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

◆ ReadNull()

void FJsonSerializerPolicy_JsonObject::ReadNull ( FValue OutValue)
static

◆ ReadNumber()

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

◆ ReadNumberAsString()

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

◆ ReadObjectEnd()

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

◆ ReadObjectStart()

void FJsonSerializerPolicy_JsonObject::ReadObjectStart ( StackState State)
static

◆ ReadString()

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

◆ ResetValue()

void FJsonSerializerPolicy_JsonObject::ResetValue ( FValue OutValue)
static

◆ SerializeIfArray()

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

◆ SerializeIfBool()

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

◆ SerializeIfNull()

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

◆ SerializeIfNumber()

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

◆ SerializeIfObject()

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

◆ SerializeIfString()

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

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