Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Newtonsoft.​Json.​Serialization.​JsonStringContract

Assembly: Newtonsoft.Json

Inheritance: object → JsonContractJsonPrimitiveContract → JsonStringContract

Contract details for a <see cref="T:System.Type" /> used by the <see cref="T:Newtonsoft.Json.JsonSerializer" /> .

Properties

UnderlyingType
Gets the underlying type for the contract.
CreatedType
Gets or sets the type created during deserialization.
public bool?
IsReference
Gets or sets whether this type contract is serialized as a reference.
public JsonConverter
Converter
Gets or sets the default <see cref="T:Newtonsoft.Json.JsonConverter" /> for this contract.
Gets or sets all methods called immediately after deserialization of the object.
Gets or sets all methods called during deserialization of the object.
Gets or sets all methods called after serialization of the object graph.
Gets or sets all methods called before serialization of the object.
Gets or sets all method called when an error is thrown during the serialization of the object.
public System.​Func<​object>
DefaultCreator
Gets or sets the default creator method used to create the object.
public bool
DefaultCreatorNonPublic
Gets or sets a value indicating whether the default creator is non-public.

Methods

public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object