Google API Client Library for .NET  1.10.0
Public Member Functions | Properties | List of all members
Google.Apis.Json.NewtonsoftJsonSerializer Class Reference

Class for serialization and deserialization of JSON documents using the Newtonsoft Library. More...

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

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

static NewtonsoftJsonSerializer Instance [get]
 A singleton instance of the Newtonsoft JSON Serializer. More...
 
string Format [get]
 
- Properties inherited from Google.Apis.ISerializer
string Format [get]
 Gets the application format this serializer supports (e.g. "json", "xml", etc.). More...
 

Detailed Description

Class for serialization and deserialization of JSON documents using the Newtonsoft Library.

Member Function Documentation

object Google.Apis.Json.NewtonsoftJsonSerializer.Deserialize ( string  input,
Type  type 
)
inline

Deserializes the string into an object.

Implements Google.Apis.ISerializer.

Deserializes the string into an object.

Implements Google.Apis.ISerializer.

Deserializes the stream into an object.

Implements Google.Apis.ISerializer.

void Google.Apis.Json.NewtonsoftJsonSerializer.Serialize ( object  obj,
Stream  target 
)
inline

Serializes the specified object into a Stream.

Implements Google.Apis.ISerializer.

string Google.Apis.Json.NewtonsoftJsonSerializer.Serialize ( object  obj)
inline

Serializes the specified object into a string.

Implements Google.Apis.ISerializer.

Property Documentation

NewtonsoftJsonSerializer Google.Apis.Json.NewtonsoftJsonSerializer.Instance
staticget

A singleton instance of the Newtonsoft JSON Serializer.


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