Google API Client Library for .NET  1.10.0
Public Member Functions | Properties | List of all members
Google.Apis.ISerializer Interface Reference

Serialization interface that supports serialize and deserialize methods. More...

Inheritance diagram for Google.Apis.ISerializer:
Google.Apis.Json.IJsonSerializer Google.Apis.Json.NewtonsoftJsonSerializer

Public Member Functions

void Serialize (object obj, Stream target)
 Serializes the specified object into a Stream. More...
 
string Serialize (object obj)
 Serializes the specified object into a string. More...
 
Deserialize< T > (string input)
 Deserializes the string into an object. More...
 
object Deserialize (string input, Type type)
 Deserializes the string into an object. More...
 
Deserialize< T > (Stream input)
 Deserializes the stream into an object. More...
 

Properties

string Format [get]
 Gets the application format this serializer supports (e.g. "json", "xml", etc.). More...
 

Detailed Description

Serialization interface that supports serialize and deserialize methods.

Member Function Documentation

object Google.Apis.ISerializer.Deserialize ( string  input,
Type  type 
)

Deserializes the string into an object.

Implemented in Google.Apis.Json.NewtonsoftJsonSerializer.

T Google.Apis.ISerializer.Deserialize< T > ( string  input)

Deserializes the string into an object.

Implemented in Google.Apis.Json.NewtonsoftJsonSerializer.

T Google.Apis.ISerializer.Deserialize< T > ( Stream  input)

Deserializes the stream into an object.

Implemented in Google.Apis.Json.NewtonsoftJsonSerializer.

void Google.Apis.ISerializer.Serialize ( object  obj,
Stream  target 
)

Serializes the specified object into a Stream.

Implemented in Google.Apis.Json.NewtonsoftJsonSerializer.

string Google.Apis.ISerializer.Serialize ( object  obj)

Serializes the specified object into a string.

Implemented in Google.Apis.Json.NewtonsoftJsonSerializer.

Property Documentation

string Google.Apis.ISerializer.Format
get

Gets the application format this serializer supports (e.g. "json", "xml", etc.).


The documentation for this interface was generated from the following file: