JsonSerializer Methods |
The JsonSerializer type exposes the following members.
Name | Description | |
---|---|---|
Deserialize(Byte, Type) |
Deserialize from byte[] to Type
| |
Deserialize(Object, Type) |
Deserialize from string to Type
| |
DeserializeTTarget(Byte) |
Deserialize from byte[] to TTarget
| |
DeserializeTTarget(Object) |
Deserialize from string to TTarget
| |
DeserializeFromString |
Deserialize JSON string into object of a specific Type and name.
Can set default value if needed
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Serialize(Object) |
Serialize object to JSON string
| |
Serialize(Object, Type) |
Serialize object of a specific Type to a JSON string
| |
SerializeTSource(TSource) |
Serialize object TSource JSON string
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |