Send feedback
Interface ISerializer (1.68.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
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
Type
Description
string
Methods
Deserialize(string, Type)
object Deserialize(string input, Type type)
Deserializes the string into an object.
Parameters
Name
Description
input
string
type
Type
Returns
Type
Description
object
Deserialize<T>(Stream)
T Deserialize<T>(Stream input)
Deserializes the stream into an object.
Parameter
Name
Description
input
Stream
Returns
Type
Description
T
Type Parameter
Name
Description
T
Deserialize<T>(string)
T Deserialize<T>(string input)
Deserializes the string into an object.
Parameter
Name
Description
input
string
Returns
Type
Description
T
Type Parameter
Name
Description
T
Serialize(object)
string Serialize(object obj)
Serializes the specified object into a string.
Parameter
Name
Description
obj
object
Returns
Type
Description
string
Serialize(object, Stream)
void Serialize(object obj, Stream target)
Serializes the specified object into a Stream.
Extension Method
Send feedback
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 2024-10-30 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-30 UTC."],[],[]]