Class JsonSerializerSettingsPreset
The json serializer settings preset.
Inheritance
System.Object
UnityEngine.Object
UnityEngine.ScriptableObject
JsonSerializerSettingsPreset
Inherited Members
UnityEngine.ScriptableObject.SetDirty()
UnityEngine.ScriptableObject.CreateInstance(System.String)
UnityEngine.ScriptableObject.CreateInstance(System.Type)
UnityEngine.ScriptableObject.CreateInstance<T>()
UnityEngine.Object.GetInstanceID()
UnityEngine.Object.GetHashCode()
UnityEngine.Object.Equals(System.Object)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
UnityEngine.Object.Instantiate(UnityEngine.Object)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform, System.Boolean)
UnityEngine.Object.Instantiate<T>(T)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform, System.Boolean)
UnityEngine.Object.Destroy(UnityEngine.Object, System.Single)
UnityEngine.Object.Destroy(UnityEngine.Object)
UnityEngine.Object.DestroyImmediate(UnityEngine.Object, System.Boolean)
UnityEngine.Object.DestroyImmediate(UnityEngine.Object)
UnityEngine.Object.FindObjectsOfType(System.Type)
UnityEngine.Object.DontDestroyOnLoad(UnityEngine.Object)
UnityEngine.Object.DestroyObject(UnityEngine.Object, System.Single)
UnityEngine.Object.DestroyObject(UnityEngine.Object)
UnityEngine.Object.FindSceneObjectsOfType(System.Type)
UnityEngine.Object.FindObjectsOfTypeIncludingAssets(System.Type)
UnityEngine.Object.FindObjectsOfType<T>()
UnityEngine.Object.FindObjectOfType<T>()
UnityEngine.Object.FindObjectsOfTypeAll(System.Type)
UnityEngine.Object.FindObjectOfType(System.Type)
UnityEngine.Object.ToString()
UnityEngine.Object.name
UnityEngine.Object.hideFlags
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Bayat.Json
Assembly: Bayat.Json.Runtime.dll
Syntax
[CreateAssetMenu(menuName = "Bayat/Json/Json Serializer Settings Preset")]
public class JsonSerializerSettingsPreset : ScriptableObject
Fields
| Improve this Doc View SourcecheckAdditionalContent
Declaration
[SerializeField]
protected bool checkAdditionalContent
Field Value
Type | Description |
---|---|
System.Boolean |
constructorHandling
Declaration
[SerializeField]
protected ConstructorHandling constructorHandling
Field Value
Type | Description |
---|---|
ConstructorHandling |
cultureName
Declaration
[SerializeField]
protected string cultureName
Field Value
Type | Description |
---|---|
System.String |
customSettings
Declaration
protected JsonSerializerSettings customSettings
Field Value
Type | Description |
---|---|
JsonSerializerSettings |
dateFormatHandling
Declaration
[SerializeField]
protected DateFormatHandling dateFormatHandling
Field Value
Type | Description |
---|---|
DateFormatHandling |
dateFormatString
Declaration
[SerializeField]
protected string dateFormatString
Field Value
Type | Description |
---|---|
System.String |
dateParseHandling
Declaration
[SerializeField]
protected DateParseHandling dateParseHandling
Field Value
Type | Description |
---|---|
DateParseHandling |
dateTimeZoneHandling
Declaration
[SerializeField]
protected DateTimeZoneHandling dateTimeZoneHandling
Field Value
Type | Description |
---|---|
DateTimeZoneHandling |
defaultValueHandling
Declaration
[SerializeField]
protected DefaultValueHandling defaultValueHandling
Field Value
Type | Description |
---|---|
DefaultValueHandling |
floatFormatHandling
Declaration
[SerializeField]
protected FloatFormatHandling floatFormatHandling
Field Value
Type | Description |
---|---|
FloatFormatHandling |
floatParseHandling
Declaration
[SerializeField]
protected FloatParseHandling floatParseHandling
Field Value
Type | Description |
---|---|
FloatParseHandling |
formatterAssemblyStyle
Declaration
[SerializeField]
protected FormatterAssemblyStyle formatterAssemblyStyle
Field Value
Type | Description |
---|---|
System.Runtime.Serialization.Formatters.FormatterAssemblyStyle |
formatting
Declaration
[SerializeField]
protected Formatting formatting
Field Value
Type | Description |
---|---|
Formatting |
maxDepth
Declaration
[SerializeField]
protected int maxDepth
Field Value
Type | Description |
---|---|
System.Int32 |
metadataPropertyHandling
Declaration
[SerializeField]
protected MetadataPropertyHandling metadataPropertyHandling
Field Value
Type | Description |
---|---|
MetadataPropertyHandling |
missingMemberHandling
Declaration
[SerializeField]
protected MissingMemberHandling missingMemberHandling
Field Value
Type | Description |
---|---|
MissingMemberHandling |
nullValueHandling
Declaration
[SerializeField]
protected NullValueHandling nullValueHandling
Field Value
Type | Description |
---|---|
NullValueHandling |
objectCreationHandling
Declaration
[SerializeField]
protected ObjectCreationHandling objectCreationHandling
Field Value
Type | Description |
---|---|
ObjectCreationHandling |
preserveReferencesHandling
Declaration
[SerializeField]
protected PreserveReferencesHandling preserveReferencesHandling
Field Value
Type | Description |
---|---|
PreserveReferencesHandling |
referenceLoopHandling
Declaration
[SerializeField]
protected ReferenceLoopHandling referenceLoopHandling
Field Value
Type | Description |
---|---|
ReferenceLoopHandling |
serializeScriptableObjects
Declaration
[SerializeField]
protected bool serializeScriptableObjects
Field Value
Type | Description |
---|---|
System.Boolean |
stringEscapeHandling
Declaration
[SerializeField]
protected StringEscapeHandling stringEscapeHandling
Field Value
Type | Description |
---|---|
StringEscapeHandling |
typeNameAssemblyFormat
Declaration
[SerializeField]
protected FormatterAssemblyStyle typeNameAssemblyFormat
Field Value
Type | Description |
---|---|
System.Runtime.Serialization.Formatters.FormatterAssemblyStyle |
typeNameHandling
Declaration
[SerializeField]
protected TypeNameHandling typeNameHandling
Field Value
Type | Description |
---|---|
TypeNameHandling |
Properties
| Improve this Doc View SourceCustomSettings
Creates a new instance of JsonSerializerSettings and applies the settings to it if the custom settings is null otherwise returns the existing instance.
Declaration
public virtual JsonSerializerSettings CustomSettings { get; }
Property Value
Type | Description |
---|---|
JsonSerializerSettings |
DefaultPreset
The default preset.
Declaration
public static JsonSerializerSettingsPreset DefaultPreset { get; }
Property Value
Type | Description |
---|---|
JsonSerializerSettingsPreset |
NewSettings
Creates a new instance of JsonSerializerSettings and applies the settings to it.
Declaration
public virtual JsonSerializerSettings NewSettings { get; }
Property Value
Type | Description |
---|---|
JsonSerializerSettings |
Methods
| Improve this Doc View SourceApplyTo(JsonSerializerSettings)
Applies the settings to the JsonSerializerSettings instance.
Declaration
public virtual void ApplyTo(JsonSerializerSettings settings)
Parameters
Type | Name | Description |
---|---|---|
JsonSerializerSettings | settings |