hdac SDK
SDK for hdac blockchain development
Public 멤버 함수 | 정적 Public 멤버 함수 | 속성 | 이벤트 | 모든 멤버 목록
Newtonsoft.Json.JsonSerializer 클래스 참조

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. 더 자세히 ...
 
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< ErrorEventArgsError
 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.

생성자 & 소멸자 문서화

Newtonsoft.Json.JsonSerializer.JsonSerializer ( )
inline

Initializes a new instance of the JsonSerializer class.

멤버 함수 문서화

static JsonSerializer Newtonsoft.Json.JsonSerializer.Create ( JsonSerializerSettings  settings)
inlinestatic

Creates a new JsonSerializer instance using the specified JsonSerializerSettings.

매개변수
settingsThe settings to be applied to the JsonSerializer.
반환값
A new JsonSerializer instance using the specified JsonSerializerSettings.
object Newtonsoft.Json.JsonSerializer.Deserialize ( JsonReader  reader)
inline

Deserializes the Json structure contained by the specified JsonReader.

매개변수
readerThe JsonReader that contains the JSON structure to deserialize.
반환값
The Object being deserialized.
object Newtonsoft.Json.JsonSerializer.Deserialize ( TextReader  reader,
Type  objectType 
)
inline

Deserializes the Json structure contained by the specified StringReader into an instance of the specified type.

매개변수
readerThe TextReader containing the object.
objectTypeThe Type of object being deserialized.
반환값
The instance of objectType being deserialized.
object Newtonsoft.Json.JsonSerializer.Deserialize ( JsonReader  reader,
Type  objectType 
)
inline

Deserializes the Json structure contained by the specified JsonReader into an instance of the specified type.

매개변수
readerThe JsonReader containing the object.
objectTypeThe Type of object being deserialized.
반환값
The instance of objectType being deserialized.

Deserializes the Json structure contained by the specified JsonReader into an instance of the specified type.

매개변수
readerThe JsonReader containing the object.
템플릿 파라메터
TThe type of the object to deserialize.
반환값
The instance of T being deserialized.
void Newtonsoft.Json.JsonSerializer.Populate ( TextReader  reader,
object  target 
)
inline

Populates the JSON values onto the target object.

매개변수
readerThe TextReader that contains the JSON structure to reader values from.
targetThe target object to populate values onto.
void Newtonsoft.Json.JsonSerializer.Populate ( JsonReader  reader,
object  target 
)
inline

Populates the JSON values onto the target object.

매개변수
readerThe JsonReader that contains the JSON structure to reader values from.
targetThe target object to populate values onto.
void Newtonsoft.Json.JsonSerializer.Serialize ( TextWriter  textWriter,
object  value 
)
inline

Serializes the specified Object and writes the Json structure to a Stream using the specified TextWriter.

매개변수
textWriterThe TextWriter used to write the Json structure.
valueThe Object to serialize.
void Newtonsoft.Json.JsonSerializer.Serialize ( JsonWriter  jsonWriter,
object  value 
)
inline

Serializes the specified Object and writes the Json structure to a Stream using the specified JsonWriter.

매개변수
jsonWriterThe JsonWriter used to write the Json structure.
valueThe Object to serialize.

속성 문서화

virtual SerializationBinder Newtonsoft.Json.JsonSerializer.Binder
getset

Gets or sets the SerializationBinder used by the serializer when resolving type names.

virtual ConstructorHandling Newtonsoft.Json.JsonSerializer.ConstructorHandling
getset

Gets or sets how constructors are used during deserialization.

The constructor handling.

virtual StreamingContext Newtonsoft.Json.JsonSerializer.Context
getset

Gets or sets the StreamingContext used by the serializer when invoking serialization callback methods.

The context.

virtual IContractResolver Newtonsoft.Json.JsonSerializer.ContractResolver
getset

Gets or sets the contract resolver used by the serializer when serializing .NET objects to JSON and vice versa.

virtual JsonConverterCollection Newtonsoft.Json.JsonSerializer.Converters
get

Gets a collection JsonConverter that will be used during serialization.

Collection JsonConverter that will be used during serialization.

virtual DefaultValueHandling Newtonsoft.Json.JsonSerializer.DefaultValueHandling
getset

Get or set how null default are handled during serialization and deserialization.

virtual MissingMemberHandling Newtonsoft.Json.JsonSerializer.MissingMemberHandling
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.

virtual NullValueHandling Newtonsoft.Json.JsonSerializer.NullValueHandling
getset

Get or set how null values are handled during serialization and deserialization.

virtual ObjectCreationHandling Newtonsoft.Json.JsonSerializer.ObjectCreationHandling
getset

Gets or sets how objects are created during deserialization.

The object creation handling.

virtual PreserveReferencesHandling Newtonsoft.Json.JsonSerializer.PreserveReferencesHandling
getset

Gets or sets how object references are preserved by the serializer.

virtual ReferenceLoopHandling Newtonsoft.Json.JsonSerializer.ReferenceLoopHandling
getset

Get or set how reference loops (e.g. a class referencing itself) is handled.

virtual IReferenceResolver Newtonsoft.Json.JsonSerializer.ReferenceResolver
getset

Gets or sets the IReferenceResolver used by the serializer when resolving references.

virtual FormatterAssemblyStyle Newtonsoft.Json.JsonSerializer.TypeNameAssemblyFormat
getset

Gets or sets how a type name assembly is written and resolved by the serializer.

The type name assembly format.

virtual TypeNameHandling Newtonsoft.Json.JsonSerializer.TypeNameHandling
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.


이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: