Interface ISerializer
Serialization interface that supports serialize and deserialize methods.
Assembly: Google.Apis.Core.dll
Syntax
public interface ISerializer
Properties
Gets the application format this serializer supports (e.g. "json", "xml", etc.).
Declaration
Property Value
Methods
Deserialize(string, Type)
Deserializes the string into an object.
Declaration
object Deserialize(string input, Type type)
Parameters
Returns
Deserialize<T>(Stream)
Deserializes the stream into an object.
Declaration
T Deserialize<T>(Stream input)
Parameters
Type |
Name |
Description |
Stream |
input |
|
Returns
Type Parameters
Deserialize<T>(string)
Deserializes the string into an object.
Declaration
T Deserialize<T>(string input)
Parameters
Type |
Name |
Description |
string |
input |
|
Returns
Type Parameters
Serialize(object)
Serializes the specified object into a string.
Declaration
string Serialize(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Serialize(object, Stream)
Serializes the specified object into a Stream.
Declaration
void Serialize(object obj, Stream target)
Parameters
Extension Methods