Navigation
API > API/Runtime > API/Runtime/Json > API/Runtime/Json/Serialization
Inheritance Hierarchy
- FJsonSerializerBase
- FJsonSerializerReader
References
| Module | Json |
| Header | /Engine/Source/Runtime/Json/Public/Serialization/JsonSerializerMacros.h |
| Include | #include "Serialization/JsonSerializerMacros.h" |
Syntax
class FJsonSerializerReader : public FJsonSerializerBase
Remarks
Implements the abstract serializer interface hiding the underlying reader object
Constructors
| Type | Name | Description | |
|---|---|---|---|
FJsonSerializerReader
(
TSharedPtr< FJsonObject > InJsonObject |
Inits the base JSON object that is being read from |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FJsonSerializerBase
| Type | Name | Description | |
|---|---|---|---|
| void | EndArray () |
Ignored | |
| void | EndObject () |
Ignored | |
| TSharedPtr< FJsonObject > | GetObject () |
Access to the root Json object being read | |
| bool | IsLoading () |
Is the JSON being read from | |
| bool | IsSaving () |
Is the JSON being written to | |
| void | Writes the field name and the corresponding value to the JSON data | ||
| void | Serialize
(
const TCHAR* Name, |
If the underlying json object has the field, it is read into the value | |
| void | Serialize
(
const TCHAR* Name, |
If the underlying json object has the field, it is read into the value | |
| void | If the underlying json object has the field, it is read into the value | ||
| void | Serialize
(
const TCHAR* Name, |
If the underlying json object has the field, it is read into the value | |
| void | Serialize
(
const TCHAR* Name, |
If the underlying json object has the field, it is read into the value | |
| void | If the underlying json object has the field, it is read into the value | ||
| void | Serialize
(
const TCHAR* Name, |
If the underlying json object has the field, it is read into the value | |
| void | Serialize
(
const TCHAR* Name, |
If the underlying json object has the field, it is read into the value | |
| void | SerializeArray
(
const TCHAR* Name, |
Serializes an array of values with an identifier | |
| void | SerializeArray
(
const TCHAR* Name, |
Serializes an array of values with an identifier | |
| void | SerializeArray
(
FJsonSerializableArray& Array |
Serializes an array of values | |
| void | SerializeArray
(
const TCHAR* Name, |
Serializes an array of values with an identifier | |
| void | SerializeMap
(
const TCHAR* Name, |
Serializes the keys & values for map | |
| void | SerializeMap
(
const TCHAR* Name, |
Serializes the keys & values for map | |
| void | SerializeMap
(
const TCHAR* Name, |
Serializes the keys & values for map | |
| void | SerializeMap
(
const TCHAR* Name, |
Serializes the keys & values for map | |
| void | SerializeMap
(
const TCHAR* Name, |
Serializes the keys & values for map | |
| void | SerializeMapSafe
(
const TCHAR* Name, |
Deserializes keys and values from an object into a map, but only if the value is trivially convertable to string. | |
| void | SerializeSimpleMap
(
FJsonSerializableKeyValueMap& Map |
||
| void | StartArray () |
Ignored | |
| void | StartArray
(
const FString& Name |
Ignored | |
| void | StartObject () |
Ignored | |
| void | StartObject
(
const FString& Name |
Ignored | |
| void | WriteIdentifierPrefix
(
const TCHAR* Name |
||
| void | WriteRawJSONValue
(
const TCHAR* Value |