engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FJsonSerializerReader类 参考

Implements the abstract serializer interface hiding the underlying reader object 更多...

#include <JsonSerializerMacros.h>

+ 类 FJsonSerializerReader 继承关系图:

Public 成员函数

virtual void EndArray () override
 Ignored
 
virtual void EndObject () override
 Ignored
 
 FJsonSerializerReader (TSharedPtr< FJsonObject > InJsonObject)
 Inits the base JSON object that is being read from 更多...
 
virtual TSharedPtr< FJsonObject > GetObject () override
 Access to the root Json object being read
 
virtual bool IsLoading () const override
 Is the JSON being read from
 
virtual bool IsSaving () const override
 Is the JSON being written to
 
virtual void Serialize (const TCHAR *Name, bool &Value) override
 If the underlying json object has the field, it is read into the value 更多...
 
virtual void Serialize (const TCHAR *Name, double &Value) override
 If the underlying json object has the field, it is read into the value 更多...
 
virtual void Serialize (const TCHAR *Name, FDateTime &Value) override
 Writes the field name and the corresponding value to the JSON data 更多...
 
virtual void Serialize (const TCHAR *Name, float &Value) override
 If the underlying json object has the field, it is read into the value 更多...
 
virtual void Serialize (const TCHAR *Name, FString &Value) override
 If the underlying json object has the field, it is read into the value 更多...
 
virtual void Serialize (const TCHAR *Name, FText &Value) override
 If the underlying json object has the field, it is read into the value 更多...
 
virtual void Serialize (const TCHAR *Name, int32 &Value) override
 If the underlying json object has the field, it is read into the value 更多...
 
virtual void Serialize (const TCHAR *Name, int64 &Value) override
 If the underlying json object has the field, it is read into the value 更多...
 
virtual void Serialize (const TCHAR *Name, uint32 &Value) override
 If the underlying json object has the field, it is read into the value 更多...
 
virtual void SerializeArray (const TCHAR *Name, FJsonSerializableArray &Array) override
 Serializes an array of values with an identifier 更多...
 
virtual void SerializeArray (const TCHAR *Name, FJsonSerializableArrayInt &Array) override
 Serializes an array of values with an identifier 更多...
 
virtual void SerializeArray (FJsonSerializableArray &Array) override
 Serializes an array of values 更多...
 
virtual void SerializeMap (const TCHAR *Name, FJsonSerializableKeyValueMap &Map) override
 Serializes the keys & values for map 更多...
 
virtual void SerializeMap (const TCHAR *Name, FJsonSerializableKeyValueMapFloat &Map) override
 Serializes the keys & values for map 更多...
 
virtual void SerializeMap (const TCHAR *Name, FJsonSerializableKeyValueMapInt &Map) override
 Serializes the keys & values for map 更多...
 
virtual void SerializeMap (const TCHAR *Name, FJsonSerializableKeyValueMapInt64 &Map) override
 Serializes the keys & values for map 更多...
 
virtual void SerializeMapSafe (const TCHAR *Name, FJsonSerializableKeyValueMap &Map) override
 Deserializes keys and values from an object into a map, but only if the value is trivially convertable to string. 更多...
 
virtual void StartArray () override
 Ignored
 
virtual void StartArray (const FString &Name) override
 Ignored
 
virtual void StartObject () override
 Ignored
 
virtual void StartObject (const FString &Name) override
 Ignored
 

详细描述

Implements the abstract serializer interface hiding the underlying reader object

构造及析构函数说明

◆ FJsonSerializerReader()

FJsonSerializerReader::FJsonSerializerReader ( TSharedPtr< FJsonObject >  InJsonObject)
inline

Inits the base JSON object that is being read from

参数
InJsonObjectthe JSON object to serialize from

成员函数说明

◆ Serialize() [1/9]

virtual void FJsonSerializerReader::Serialize ( const TCHAR *  Name,
bool &  Value 
)
inlineoverridevirtual

If the underlying json object has the field, it is read into the value

参数
Namethe name of the field to read
Valuethe out value to read the data into

实现了 FJsonSerializerBase.

◆ Serialize() [2/9]

virtual void FJsonSerializerReader::Serialize ( const TCHAR *  Name,
double &  Value 
)
inlineoverridevirtual

If the underlying json object has the field, it is read into the value

参数
Namethe name of the field to read
Valuethe out value to read the data into

实现了 FJsonSerializerBase.

◆ Serialize() [3/9]

virtual void FJsonSerializerReader::Serialize ( const TCHAR *  Name,
FDateTime &  Value 
)
inlineoverridevirtual

Writes the field name and the corresponding value to the JSON data

参数
Namethe field name to write out
Valuethe value to write out

实现了 FJsonSerializerBase.

◆ Serialize() [4/9]

virtual void FJsonSerializerReader::Serialize ( const TCHAR *  Name,
float &  Value 
)
inlineoverridevirtual

If the underlying json object has the field, it is read into the value

参数
Namethe name of the field to read
Valuethe out value to read the data into

实现了 FJsonSerializerBase.

◆ Serialize() [5/9]

virtual void FJsonSerializerReader::Serialize ( const TCHAR *  Name,
FString &  Value 
)
inlineoverridevirtual

If the underlying json object has the field, it is read into the value

参数
Namethe name of the field to read
Valuethe out value to read the data into

实现了 FJsonSerializerBase.

◆ Serialize() [6/9]

virtual void FJsonSerializerReader::Serialize ( const TCHAR *  Name,
FText &  Value 
)
inlineoverridevirtual

If the underlying json object has the field, it is read into the value

参数
Namethe name of the field to read
Valuethe out value to read the data into

实现了 FJsonSerializerBase.

◆ Serialize() [7/9]

virtual void FJsonSerializerReader::Serialize ( const TCHAR *  Name,
int32 &  Value 
)
inlineoverridevirtual

If the underlying json object has the field, it is read into the value

参数
Namethe name of the field to read
Valuethe out value to read the data into

实现了 FJsonSerializerBase.

◆ Serialize() [8/9]

virtual void FJsonSerializerReader::Serialize ( const TCHAR *  Name,
int64 &  Value 
)
inlineoverridevirtual

If the underlying json object has the field, it is read into the value

参数
Namethe name of the field to read
Valuethe out value to read the data into

实现了 FJsonSerializerBase.

◆ Serialize() [9/9]

virtual void FJsonSerializerReader::Serialize ( const TCHAR *  Name,
uint32 &  Value 
)
inlineoverridevirtual

If the underlying json object has the field, it is read into the value

参数
Namethe name of the field to read
Valuethe out value to read the data into

实现了 FJsonSerializerBase.

◆ SerializeArray() [1/3]

virtual void FJsonSerializerReader::SerializeArray ( const TCHAR *  Name,
FJsonSerializableArray &  Array 
)
inlineoverridevirtual

Serializes an array of values with an identifier

参数
Namethe name of the property to serialize
Arraythe array to serialize

实现了 FJsonSerializerBase.

◆ SerializeArray() [2/3]

virtual void FJsonSerializerReader::SerializeArray ( const TCHAR *  Name,
FJsonSerializableArrayInt &  Array 
)
inlineoverridevirtual

Serializes an array of values with an identifier

参数
Namethe name of the property to serialize
Arraythe array to serialize

实现了 FJsonSerializerBase.

◆ SerializeArray() [3/3]

virtual void FJsonSerializerReader::SerializeArray ( FJsonSerializableArray &  Array)
inlineoverridevirtual

Serializes an array of values

参数
Namethe name of the property to serialize
Arraythe array to serialize

实现了 FJsonSerializerBase.

◆ SerializeMap() [1/4]

virtual void FJsonSerializerReader::SerializeMap ( const TCHAR *  Name,
FJsonSerializableKeyValueMap &  Map 
)
inlineoverridevirtual

Serializes the keys & values for map

参数
Namethe name of the property to serialize
Mapthe map to serialize

实现了 FJsonSerializerBase.

◆ SerializeMap() [2/4]

virtual void FJsonSerializerReader::SerializeMap ( const TCHAR *  Name,
FJsonSerializableKeyValueMapFloat &  Map 
)
inlineoverridevirtual

Serializes the keys & values for map

参数
Namethe name of the property to serialize
Mapthe map to serialize

实现了 FJsonSerializerBase.

◆ SerializeMap() [3/4]

virtual void FJsonSerializerReader::SerializeMap ( const TCHAR *  Name,
FJsonSerializableKeyValueMapInt &  Map 
)
inlineoverridevirtual

Serializes the keys & values for map

参数
Namethe name of the property to serialize
Mapthe map to serialize

实现了 FJsonSerializerBase.

◆ SerializeMap() [4/4]

virtual void FJsonSerializerReader::SerializeMap ( const TCHAR *  Name,
FJsonSerializableKeyValueMapInt64 &  Map 
)
inlineoverridevirtual

Serializes the keys & values for map

参数
Namethe name of the property to serialize
Mapthe map to serialize

实现了 FJsonSerializerBase.

◆ SerializeMapSafe()

virtual void FJsonSerializerReader::SerializeMapSafe ( const TCHAR *  Name,
FJsonSerializableKeyValueMap &  Map 
)
inlineoverridevirtual

Deserializes keys and values from an object into a map, but only if the value is trivially convertable to string.

参数
NameName of property to deserialize
MapThe Map to fill with String values found

实现了 FJsonSerializerBase.


该类的文档由以下文件生成: