JsonSerializer Class

 

Updated: May 24, 2016

Two-way conversion of an in-memory object tree to JSON. JSON is used for object definitions in a Tabular model or Tabular database at compatibility level 1200 and greater.

Namespace:   Microsoft.AnalysisServices.Tabular
Assembly:  Microsoft.AnalysisServices.Tabular (in Microsoft.AnalysisServices.Tabular.dll)

System::Object
  Microsoft.AnalysisServices.Tabular::JsonSerializer

public ref class JsonSerializer abstract sealed 

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticDeserializeDatabase(String^, DeserializeOptions^)

Deserializes a Database object.

System_CAPS_pubmethodSystem_CAPS_staticDeserializeObject(Type^, String^, DeserializeOptions^, Int32)

Deserializes a JSON structure of a Tabular database to its metadata object equivalent.

System_CAPS_pubmethodSystem_CAPS_staticDeserializeObject<T>(String^, DeserializeOptions^)

Deserializes a JSON structure to its metadata object equivalent.

System_CAPS_pubmethodSystem_CAPS_staticGenerateSchema(Type^, SerializeOptions^, Int32)

Generates the JSON schema for JSON serialization of a given metadata object.

System_CAPS_pubmethodSystem_CAPS_staticGenerateSchema<T>(SerializeOptions^, Int32)

Generates JSON schema for JSON serialization of given metadata object.

System_CAPS_pubmethodSystem_CAPS_staticSerializeDatabase(Database^, SerializeOptions^)

Serializes the metadata of an in-memory Tabular database to a JSON structure.

System_CAPS_pubmethodSystem_CAPS_staticSerializeObject(MetadataObject^, SerializeOptions^, Int32)

Serializes an in-memory Tabular model object to a JSON structure.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: