Interface ISerializer (1.59.0)
Stay organized with collections
Save and categorize content based on your preferences.
public interface ISerializer
Serialization interface that supports serialize and deserialize methods.
Namespace
Google.Apis
Assembly
Google.Apis.Core.dll
Properties
Gets the application format this serializer supports (e.g. "json", "xml", etc.).
Property Value
Methods
Deserialize(String, Type)
object Deserialize(string input, Type type)
Deserializes the string into an object.
Parameters
Returns
Deserialize<T>(Stream)
T Deserialize<T>(Stream input)
Deserializes the stream into an object.
Parameter
Returns
Type Parameter
Deserialize<T>(String)
T Deserialize<T>(string input)
Deserializes the string into an object.
Parameter
Returns
Type Parameter
Serialize(Object)
string Serialize(object obj)
Serializes the specified object into a string.
Parameter
Returns
Serialize(Object, Stream)
void Serialize(object obj, Stream target)
Serializes the specified object into a Stream.
Parameters
Extension Method
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-01-20 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]