Optional settings used while storing an object to a json value. More...
#include <JsonSerializationSettings.h>
Public Attributes | |
JsonSerializationMetadata | m_metadata |
Metadata can be used to pass additional information to serializers. Look at individual serializers for available options. | |
JsonSerializationResult::JsonIssueCallback | m_reporting |
SerializeContext * | m_serializeContext = nullptr |
Optional serialize context. If not provided the default instance will be retrieved through an EBus call. | |
JsonRegistrationContext * | m_registrationContext = nullptr |
Optional json registration context. If not provided the default instance will be retrieved through an EBus call. | |
bool | m_keepDefaults = false |
Optional settings used while storing an object to a json value.
bool AZ::JsonSerializerSettings::m_keepDefaults = false |
If true default value will be stored, otherwise only changed values will be stored. This will automatically be set to false if the Store function is given a default object.
JsonSerializationResult::JsonIssueCallback AZ::JsonSerializerSettings::m_reporting |
Optional callback when issues are encountered. If not provided reporting will be forwarded to the default issue reporting. This can also be used to change the returned result code to alter the behavior of the serializer.