Share via


JsonSerializer Class

Definition

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.

public static class JsonSerializer
type JsonSerializer = class
Public Class JsonSerializer
Inheritance
JsonSerializer

Methods

DeserializeDatabase(String, DeserializeOptions, CompatibilityMode)

Deserializes a Database object.

DeserializeObject(Type, String, DeserializeOptions, Int32, CompatibilityMode)

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

DeserializeObject(Type, String, DeserializeOptions, Int32)

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

DeserializeObject(Type, String, DeserializeOptions)

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

DeserializeObject(Type, String)

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

DeserializeObject<T>(String, DeserializeOptions, Int32, CompatibilityMode)

Deserializes a JSON structure to its metadata object equivalent.

DeserializeObject<T>(String, DeserializeOptions, Int32)

Deserializes a JSON structure to its metadata object equivalent.

DeserializeObject<T>(String, DeserializeOptions)

Deserializes a JSON structure to its metadata object equivalent.

DeserializeObject<T>(String)

Deserializes a JSON structure to its metadata object equivalent.

GenerateSchema(Type, SerializeOptions, Int32, CompatibilityMode)

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

GenerateSchema(Type, SerializeOptions, Int32)

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

GenerateSchema(Type, SerializeOptions)

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

GenerateSchema(Type)

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

GenerateSchema<T>()

Generates JSON schema for JSON serialization of given metadata object.

GenerateSchema<T>(SerializeOptions, Int32)

Generates JSON schema for JSON serialization of given metadata object.

GenerateSchema<T>(SerializeOptions)

Generates JSON schema for JSON serialization of given metadata object.

SerializeDatabase(Database, SerializeOptions)

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

SerializeObject(MetadataObject, SerializeOptions, Int32, CompatibilityMode)

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

SerializeObject(MetadataObject, SerializeOptions, Int32)

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

SerializeObject(MetadataObject, SerializeOptions)

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

SerializeObject(MetadataObject)

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

Applies to