hdac SDK
SDK for hdac blockchain development
|
Serializes and deserializes objects into and from the JSON format. The JsonSerializer enables you to control how objects are encoded into JSON. 더 자세히 ...
Newtonsoft.Json.Serialization.JsonSerializerProxy에 의해 상속되었습니다.
Public 멤버 함수 | |
JsonSerializer () | |
Initializes a new instance of the JsonSerializer class. 더 자세히 ... | |
void | Populate (TextReader reader, object target) |
Populates the JSON values onto the target object. 더 자세히 ... | |
void | Populate (JsonReader reader, object target) |
Populates the JSON values onto the target object. 더 자세히 ... | |
object | Deserialize (JsonReader reader) |
Deserializes the Json structure contained by the specified JsonReader. 더 자세히 ... | |
object | Deserialize (TextReader reader, Type objectType) |
Deserializes the Json structure contained by the specified StringReader into an instance of the specified type. 더 자세히 ... | |
T | Deserialize< T > (JsonReader reader) |
Deserializes the Json structure contained by the specified JsonReader into an instance of the specified type. 더 자세히 ... | |
object | Deserialize (JsonReader reader, Type objectType) |
Deserializes the Json structure contained by the specified JsonReader into an instance of the specified type. 더 자세히 ... | |
void | Serialize (TextWriter textWriter, object value) |
Serializes the specified Object and writes the Json structure to a Stream using the specified TextWriter. 더 자세히 ... | |
void | Serialize (JsonWriter jsonWriter, object value) |
Serializes the specified Object and writes the Json structure to a Stream using the specified JsonWriter. 더 자세히 ... | |
정적 Public 멤버 함수 | |
static JsonSerializer | Create (JsonSerializerSettings settings) |
Creates a new JsonSerializer instance using the specified JsonSerializerSettings. 더 자세히 ... | |
속성 | |
virtual IReferenceResolver | ReferenceResolver [get, set] |
Gets or sets the IReferenceResolver used by the serializer when resolving references. 더 자세히 ... | |
virtual SerializationBinder | Binder [get, set] |
Gets or sets the SerializationBinder used by the serializer when resolving type names. 더 자세히 ... | |
virtual TypeNameHandling | TypeNameHandling [get, set] |
Gets or sets how type name writing and reading is handled by the serializer. 더 자세히 ... | |
virtual FormatterAssemblyStyle | TypeNameAssemblyFormat [get, set] |
Gets or sets how a type name assembly is written and resolved by the serializer. 더 자세히 ... | |
virtual PreserveReferencesHandling | PreserveReferencesHandling [get, set] |
Gets or sets how object references are preserved by the serializer. 더 자세히 ... | |
virtual ReferenceLoopHandling | ReferenceLoopHandling [get, set] |
Get or set how reference loops (e.g. a class referencing itself) is handled. 더 자세히 ... | |
virtual MissingMemberHandling | MissingMemberHandling [get, set] |
Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. 더 자세히 ... | |
virtual NullValueHandling | NullValueHandling [get, set] |
Get or set how null values are handled during serialization and deserialization. 더 자세히 ... | |
virtual DefaultValueHandling | DefaultValueHandling [get, set] |
Get or set how null default are handled during serialization and deserialization. 더 자세히 ... | |
virtual ObjectCreationHandling | ObjectCreationHandling [get, set] |
Gets or sets how objects are created during deserialization. 더 자세히 ... | |
virtual ConstructorHandling | ConstructorHandling [get, set] |
Gets or sets how constructors are used during deserialization. 더 자세히 ... | |
virtual JsonConverterCollection | Converters [get] |
Gets a collection JsonConverter that will be used during serialization. 더 자세히 ... | |
virtual IContractResolver | ContractResolver [get, set] |
Gets or sets the contract resolver used by the serializer when serializing .NET objects to JSON and vice versa. 더 자세히 ... | |
virtual StreamingContext | Context [get, set] |
Gets or sets the StreamingContext used by the serializer when invoking serialization callback methods. 더 자세히 ... | |
이벤트 | |
virtual EventHandler< ErrorEventArgs > | Error |
Occurs when the JsonSerializer errors during serialization and deserialization. 더 자세히 ... | |
Serializes and deserializes objects into and from the JSON format. The JsonSerializer enables you to control how objects are encoded into JSON.
|
inline |
Initializes a new instance of the JsonSerializer class.
|
inlinestatic |
Creates a new JsonSerializer instance using the specified JsonSerializerSettings.
settings | The settings to be applied to the JsonSerializer. |
|
inline |
Deserializes the Json structure contained by the specified JsonReader.
reader | The JsonReader that contains the JSON structure to deserialize. |
|
inline |
Deserializes the Json structure contained by the specified StringReader into an instance of the specified type.
reader | The TextReader containing the object. |
objectType | The Type of object being deserialized. |
|
inline |
Deserializes the Json structure contained by the specified JsonReader into an instance of the specified type.
reader | The JsonReader containing the object. |
objectType | The Type of object being deserialized. |
|
inline |
Deserializes the Json structure contained by the specified JsonReader into an instance of the specified type.
reader | The JsonReader containing the object. |
T | The type of the object to deserialize. |
|
inline |
Populates the JSON values onto the target object.
reader | The TextReader that contains the JSON structure to reader values from. |
target | The target object to populate values onto. |
|
inline |
Populates the JSON values onto the target object.
reader | The JsonReader that contains the JSON structure to reader values from. |
target | The target object to populate values onto. |
|
inline |
|
inline |
Serializes the specified Object and writes the Json structure to a Stream
using the specified JsonWriter.
jsonWriter | The JsonWriter used to write the Json structure. |
value | The Object to serialize. |
|
getset |
Gets or sets the SerializationBinder used by the serializer when resolving type names.
|
getset |
Gets or sets how constructors are used during deserialization.
The constructor handling.
|
getset |
Gets or sets the StreamingContext used by the serializer when invoking serialization callback methods.
The context.
|
getset |
Gets or sets the contract resolver used by the serializer when serializing .NET objects to JSON and vice versa.
|
get |
Gets a collection JsonConverter that will be used during serialization.
Collection JsonConverter that will be used during serialization.
|
getset |
Get or set how null default are handled during serialization and deserialization.
|
getset |
Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
|
getset |
Get or set how null values are handled during serialization and deserialization.
|
getset |
Gets or sets how objects are created during deserialization.
The object creation handling.
|
getset |
Gets or sets how object references are preserved by the serializer.
|
getset |
Get or set how reference loops (e.g. a class referencing itself) is handled.
|
getset |
Gets or sets the IReferenceResolver used by the serializer when resolving references.
|
getset |
Gets or sets how a type name assembly is written and resolved by the serializer.
The type name assembly format.
|
getset |
Gets or sets how type name writing and reading is handled by the serializer.
virtual EventHandler<ErrorEventArgs> Newtonsoft.Json.JsonSerializer.Error |
Occurs when the JsonSerializer errors during serialization and deserialization.