Inherits AZ::BaseJsonSerializer.
Public Member Functions | |
| AZ_RTTI (JsonArraySerializer, "{4AD184DD-A068-46D4-B364-2DDBCAB697B1}", BaseJsonSerializer) | |
| JsonSerializationResult::Result | Load (void *outputValue, const Uuid &outputValueTypeId, const rapidjson::Value &inputValue, JsonDeserializerContext &context) override |
| JsonSerializationResult::Result | Store (rapidjson::Value &outputValue, const void *inputValue, const void *defaultValue, const Uuid &valueTypeId, JsonSerializerContext &context) override |
| OperationFlags | GetOperationsFlags () const override |
| Returns the operation flags which tells the Json Serialization how this custom json serializer can be used. | |
Public Member Functions inherited from AZ::BaseJsonSerializer | |
| AZ_RTTI (BaseJsonSerializer, "{7291FFDC-D339-40B5-BB26-EA067A327B21}") | |
Public Attributes | |
| AZ_CLASS_ALLOCATOR_DECL | |
Additional Inherited Members | |
Public Types inherited from AZ::BaseJsonSerializer | |
| enum class | ContinuationFlags { None = 0 , ResolvePointer = 1 << 0 , ReplaceDefault = 1 << 1 , LoadAsNewInstance = 1 << 2 , IgnoreTypeSerializer = 1 << 3 } |
| enum class | OperationFlags { None = 0 , ManualDefault = 1 << 0 , InitializeNewInstance = 1 << 1 } |
|
overridevirtual |
Returns the operation flags which tells the Json Serialization how this custom json serializer can be used.
Reimplemented from AZ::BaseJsonSerializer.
|
overridevirtual |
Transforms the data from the rapidjson Value to outputValue, if the conversion is possible and supported. The serializer is responsible for casting to the proper type and safely writing to the outputValue memory.
Reimplemented from AZ::BaseJsonSerializer.
|
overridevirtual |
Write the input value to a rapidjson value if the default value is not null and doesn't match the input value, otherwise an error is returned and sets the rapidjson value to a null value.
Reimplemented from AZ::BaseJsonSerializer.