Silverlight 5 | WinRT |
public sealed class DataContractJsonSerializer | public sealed class DataContractJsonSerializer |
: XmlObjectSerializer | |
public IDataContractSurrogate DataContractSurrogate { get; } | |
public DateTimeFormat DateTimeFormat { get; } | |
public EmitTypeInformation EmitTypeInformation { get; } | |
public Boolean IgnoreExtensionDataObject { get; } | |
public ReadOnlyCollection`1<Type> KnownTypes { get; } | public ReadOnlyCollection`1<Type> KnownTypes { get; } |
public Int32 MaxItemsInObjectGraph { get; } | |
public Boolean SerializeReadOnlyTypes { get; } | |
public Boolean UseSimpleDictionaryFormat { get; } | |
public virtual Boolean IsStartObject(XmlReader reader); | |
public virtual Boolean IsStartObject(XmlDictionaryReader reader); | |
public Object ReadObject(Stream stream); | public virtual Object ReadObject(Stream stream); |
public virtual Object ReadObject(XmlReader reader); | |
public virtual Object ReadObject(XmlReader reader, Boolean verifyObjectName); | |
public virtual Object ReadObject(XmlDictionaryReader reader); | |
public virtual Object ReadObject(XmlDictionaryReader reader, Boolean verifyObjectName); | |
public virtual void WriteEndObject(XmlWriter writer); | |
public virtual void WriteEndObject(XmlDictionaryWriter writer); | |
public void WriteObject(Stream stream, Object graph); | public virtual void WriteObject(Stream stream, Object graph); |
public virtual void WriteObject(XmlWriter writer, Object graph); | |
public virtual void WriteObject(XmlDictionaryWriter writer, Object graph); | |
public virtual void WriteObjectContent(XmlWriter writer, Object graph); | |
public virtual void WriteObjectContent(XmlDictionaryWriter writer, Object graph); | |
public virtual void WriteStartObject(XmlWriter writer, Object graph); |
public class DataContractJsonSerializerSettings | |
public IDataContractSurrogate DataContractSurrogate { get; set; } | |
public DateTimeFormat DateTimeFormat { get; set; } | |
public EmitTypeInformation EmitTypeInformation { get; set; } | |
public Boolean IgnoreExtensionDataObject { get; set; } | |
public IEnumerable`1<Type> KnownTypes { get; set; } | |
public Int32 MaxItemsInObjectGraph { get; set; } | |
public XmlDictionaryString RootName { get; set; } | |
public Boolean SerializeReadOnlyTypes { get; set; } | |
public Boolean UseSimpleDictionaryFormat { get; set; } |
public abstract interface IXmlJsonReaderInitializer | |
public abstract virtual void SetInput(Byte buffer, Int32 offset, Int32 count, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose); | |
public abstract virtual void SetInput(Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose); |
public abstract interface IXmlJsonWriterInitializer | |
public abstract virtual void SetOutput(Stream stream, Encoding encoding, Boolean ownsStream); |
public abstract sealed class JsonReaderWriterFactory | public abstract sealed class JsonReaderWriterFactory |
static public XmlDictionaryReader CreateJsonReader(Stream stream, XmlDictionaryReaderQuotas quotas); | static public XmlDictionaryReader CreateJsonReader(Stream stream, XmlDictionaryReaderQuotas quotas); |
static public XmlDictionaryReader CreateJsonReader(Byte buffer, XmlDictionaryReaderQuotas quotas); | static public XmlDictionaryReader CreateJsonReader(Byte buffer, XmlDictionaryReaderQuotas quotas); |
static public XmlDictionaryReader CreateJsonReader(Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose); | |
static public XmlDictionaryReader CreateJsonReader(Byte buffer, Int32 offset, Int32 count, XmlDictionaryReaderQuotas quotas); | static public XmlDictionaryReader CreateJsonReader(Byte buffer, Int32 offset, Int32 count, XmlDictionaryReaderQuotas quotas); |
static public XmlDictionaryReader CreateJsonReader(Byte buffer, Int32 offset, Int32 count, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose); | |
static public XmlDictionaryWriter CreateJsonWriter(Stream stream); | static public XmlDictionaryWriter CreateJsonWriter(Stream stream); |
static public XmlDictionaryWriter CreateJsonWriter(Stream stream, Encoding encoding); | static public XmlDictionaryWriter CreateJsonWriter(Stream stream, Encoding encoding); |
static public XmlDictionaryWriter CreateJsonWriter(Stream stream, Encoding encoding, Boolean ownsStream); | static public XmlDictionaryWriter CreateJsonWriter(Stream stream, Encoding encoding, Boolean ownsStream); |
static public XmlDictionaryWriter CreateJsonWriter(Stream stream, Encoding encoding, Boolean ownsStream, Boolean indent); |
public abstract sealed class JsonValueExtensions | |
static public JsonValue CreateFrom(Object value); | |
static public JsonValue Load(XmlDictionaryReader jsonReader); | |
static public T ReadAsType(JsonValue jsonValue); | |
static public T ReadAsType(JsonValue jsonValue, T fallback); | |
static public Object ReadAsType(JsonValue jsonValue, Type type); | |
static public void Save(JsonValue jsonValue, XmlDictionaryWriter jsonWriter); | |
static public Boolean TryReadAsType(JsonValue jsonValue, out T& valueOfT); | |
static public Boolean TryReadAsType(JsonValue jsonValue, Type type, out Object& value); |