![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <JsonStructDeserializerBackend.h>
Inheritance diagram for FJsonStructDeserializerBackend:Public Member Functions | |
| FJsonStructDeserializerBackend (FArchive &Archive) | |
| virtual SERIALIZATION_API const FString & | GetCurrentPropertyName () const override |
| virtual SERIALIZATION_API FString | GetDebugString () const override |
| virtual SERIALIZATION_API const FString & | GetLastErrorMessage () const override |
| virtual SERIALIZATION_API bool | GetNextToken (EStructDeserializerBackendTokens &OutToken) override |
| virtual SERIALIZATION_API bool | ReadProperty (FProperty *Property, FProperty *Outer, void *Data, int32 ArrayIndex) override |
| virtual SERIALIZATION_API void | SkipArray () override |
| virtual SERIALIZATION_API void | SkipStructure () override |
Public Member Functions inherited from IStructDeserializerBackend | |
| virtual bool | ReadPODArray (FArrayProperty *ArrayProperty, void *Data) |
| virtual | ~IStructDeserializerBackend () |
Protected Member Functions | |
| FString & | GetLastIdentifier () |
| EJsonNotation | GetLastNotation () |
| TSharedRef< TJsonReader< WIDECHAR > > & | GetReader () |
Implements a reader for UStruct deserialization using Json.
Note: The underlying Json de-serializer is currently hard-coded to use UCS2CHAR. This is because the current JsonReader API does not allow writers to be substituted since it's all based on templates. At some point we will refactor the low-level Json API to provide more flexibility for serialization.
|
inline |
Creates and initializes a new instance.
| Archive | The archive to deserialize from. |
|
overridevirtual |
Gets the identifier of the current field.
Implements IStructDeserializerBackend.
|
overridevirtual |
Gets a debug string for the reader's current state.
The returned string contains debug information that is relevant to the reader's serialization format. For example, it could be a line and column number for text based formats, or a byte offset for binary serialization formats.
Implements IStructDeserializerBackend.
|
overridevirtual |
|
inlineprotected |
|
inlineprotected |
|
overridevirtual |
Reads the next token from the stream.
| OutToken | Will contain the read token, if any. |
Implements IStructDeserializerBackend.
|
inlineprotected |
|
overridevirtual |
Reads the specified property from the stream.
| Property | The property to read into. |
| Outer | The outer property holding the property to read (in case of arrays). |
| Data | The buffer that will hold the read data. |
| ArrayIndex | An index into the property array (for static arrays). |
Implements IStructDeserializerBackend.
Reimplemented in FNativeJSStructDeserializerBackend.
|
overridevirtual |
Skips the array that is currently being read from the stream.
Implements IStructDeserializerBackend.
|
overridevirtual |
Skips the object that is currently being read from the stream.
Implements IStructDeserializerBackend.