DataContractJsonSerializerSettings Classe

Definição

Especifica as configurações de DataContractJsonSerializer.Specifies DataContractJsonSerializer settings.

public ref class DataContractJsonSerializerSettings
public class DataContractJsonSerializerSettings
type DataContractJsonSerializerSettings = class
Public Class DataContractJsonSerializerSettings
Herança
DataContractJsonSerializerSettings

Construtores

DataContractJsonSerializerSettings()

Inicializa uma nova instância da classe DataContractJsonSerializerSettings.Initializes a new instance of the DataContractJsonSerializerSettings class.

Propriedades

DataContractSurrogate

Obtém ou define um tipo substituto que está atualmente ativo para determinada instância IDataContractSurrogate.Gets or sets a surrogate type that is currently active for given IDataContractSurrogate instance.

DateTimeFormat

Obtém ou define um DateTimeFormat que define o formato culturalmente apropriado de exibição de datas e horas.Gets or sets a DateTimeFormat that defines the culturally appropriate format of displaying dates and times.

EmitTypeInformation

Obtém ou define as configurações do serializador JSON do contrato de dados para emitir informações de tipo.Gets or sets the data contract JSON serializer settings to emit type information.

IgnoreExtensionDataObject

Obtém ou define um valor que especifica se deve ignorar os dados fornecidos por uma extensão da classe quando a classe está sendo serializada ou desserializada.Gets or sets a value that specifies whether to ignore data supplied by an extension of the class when the class is being serialized or deserialized.

KnownTypes

Obtém ou define uma coleção de tipos que podem estar presentes no grafo de objeto serializado usando essa instância, DataContractJsonSerializerSettings.Gets or sets a collection of types that may be present in the object graph serialized using this instance the DataContractJsonSerializerSettings.

MaxItemsInObjectGraph

Obtém ou define o número máximo de itens em um grafo de objeto a serem serializados ou desserializados.Gets or sets the maximum number of items in an object graph to serialize or deserialize.

RootName

Obtém ou define o nome raiz do objeto selecionado.Gets or sets the root name of the selected object.

SerializeReadOnlyTypes

Obtém ou define um valor que especifica se deve serializar os tipos somente leitura.Gets or sets a value that specifies whether to serialize read only types.

UseSimpleDictionaryFormat

Obtém ou define um valor que especifica se deve usar um formato de dicionário simples.Gets or sets a value that specifies whether to use a simple dictionary format.

Métodos

Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object.

(Herdado de Object)
GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)

Aplica-se a