Beamable SDK
Classes | Public Member Functions | Protected Member Functions | List of all members
Beamable.Common.Content.ContentSerializer< TContentBase > Class Template Referenceabstract

Classes

class  PropertyValue
 

Public Member Functions

string SerializeProperties< TContent > (TContent content)
 returns only the {} representing the properties object More...
 
string Serialize< TContent > (TContent content)
 Returns the {id: 1, version: 1, properties: {}} json model. More...
 
TContentBase DeserializeByType (string json, Type contentType)
 
TContent Deserialize< TContent > (string json)
 

Protected Member Functions

string GetNullStringForType (Type argType)
 
string SerializeArgument (object arg, Type argType)
 
object DeserializeResult (object preParsedValue, Type type)
 
abstract TContent CreateInstance< TContent > ()
 

Member Function Documentation

◆ Serialize< TContent >()

string Beamable.Common.Content.ContentSerializer< TContentBase >.Serialize< TContent > ( TContent  content)
inline

Returns the {id: 1, version: 1, properties: {}} json model.

Parameters
content
Template Parameters
TContent
Returns
Type Constraints
TContent :IContentObject 
TContent :new() 

◆ SerializeProperties< TContent >()

string Beamable.Common.Content.ContentSerializer< TContentBase >.SerializeProperties< TContent > ( TContent  content)
inline

returns only the {} representing the properties object

Parameters
content
Template Parameters
TContent
Returns
Type Constraints
TContent :IContentObject 

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