public class DataContractJsonSerializer extends XmlObjectSerializer
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Runtime.Serialization.Json.DataContractJsonSerializer
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.DataContractSerialization, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.DataContractSerialization
|
static java.lang.String |
className
Qualified class name: System.Runtime.Serialization.Json.DataContractJsonSerializer
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DataContractJsonSerializer() |
DataContractJsonSerializer(NetType type) |
DataContractJsonSerializer(NetType type,
DataContractJsonSerializerSettings settings) |
DataContractJsonSerializer(NetType type,
java.lang.String rootName) |
DataContractJsonSerializer(NetType type,
XmlDictionaryString rootName) |
DataContractJsonSerializer(java.lang.Object instance)
Internal constructor.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DataContractJsonSerializer()
throws java.lang.Throwable
java.lang.Throwablepublic DataContractJsonSerializer(NetType type) throws java.lang.Throwable, ArgumentNullException, NotSupportedException, InvalidDataContractException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, InvalidOperationException
public DataContractJsonSerializer(NetType type, DataContractJsonSerializerSettings settings) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, InvalidOperationException, RankException, ArrayTypeMismatchException, InvalidCastException, InvalidDataContractException, NullReferenceException, NotImplementedException, OutOfMemoryException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionInvalidDataContractExceptionNullReferenceExceptionNotImplementedExceptionOutOfMemoryExceptionpublic DataContractJsonSerializer(NetType type, java.lang.String rootName) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, FormatException, RankException, ArrayTypeMismatchException, NotSupportedException, InvalidDataContractException
public DataContractJsonSerializer(NetType type, XmlDictionaryString rootName) throws java.lang.Throwable, ArgumentNullException, NotSupportedException, InvalidDataContractException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, InvalidOperationException
public DataContractJsonSerializer(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static DataContractJsonSerializer cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DataContractJsonSerializer, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDataContractJsonSerializer instancejava.lang.Throwable - in case of error during cast operationpublic DateTimeFormat getDateTimeFormat() throws java.lang.Throwable
java.lang.Throwablepublic EmitTypeInformation getEmitTypeInformation() throws java.lang.Throwable
java.lang.Throwablepublic boolean getIgnoreExtensionDataObject()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class XmlObjectSerializerString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class XmlObjectSerializerString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class XmlObjectSerializerObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class XmlObjectSerializerString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class XmlObjectSerializerJCType representing the CLR Type of the instantiated Classpublic int getMaxItemsInObjectGraph()
throws java.lang.Throwable
java.lang.Throwablepublic ISerializationSurrogateProvider GetSerializationSurrogateProvider() throws java.lang.Throwable
java.lang.Throwablepublic boolean getSerializeReadOnlyTypes()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getUseSimpleDictionaryFormat()
throws java.lang.Throwable
java.lang.Throwablepublic boolean IsStartObject(XmlDictionaryReader reader) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, OutOfMemoryException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, SerializationException
IsStartObject in class XmlObjectSerializerjava.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionOutOfMemoryExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionSerializationExceptionpublic boolean IsStartObject(XmlReader reader) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, OutOfMemoryException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, SerializationException
IsStartObject in class XmlObjectSerializerjava.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionOutOfMemoryExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionSerializationExceptionpublic NetObject ReadObject(Stream stream) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, XmlException, IOException, OutOfMemoryException, SerializationException
ReadObject in class XmlObjectSerializerjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionXmlExceptionIOExceptionOutOfMemoryExceptionSerializationExceptionpublic NetObject ReadObject(XmlDictionaryReader reader) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, OutOfMemoryException, SerializationException
ReadObject in class XmlObjectSerializerjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionOutOfMemoryExceptionSerializationExceptionpublic NetObject ReadObject(XmlDictionaryReader reader, boolean verifyObjectName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, OutOfMemoryException, SerializationException
ReadObject in class XmlObjectSerializerjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionOutOfMemoryExceptionSerializationExceptionpublic NetObject ReadObject(XmlReader reader) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, OutOfMemoryException, SerializationException
ReadObject in class XmlObjectSerializerjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionOutOfMemoryExceptionSerializationExceptionpublic NetObject ReadObject(XmlReader reader, boolean verifyObjectName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, OutOfMemoryException, SerializationException
ReadObject in class XmlObjectSerializerjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionOutOfMemoryExceptionSerializationExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class XmlObjectSerializerpublic void SetSerializationSurrogateProvider(ISerializationSurrogateProvider provider) throws java.lang.Throwable
java.lang.Throwablepublic void WriteEndObject(XmlDictionaryWriter writer) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, OutOfMemoryException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, SerializationException
WriteEndObject in class XmlObjectSerializerjava.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionOutOfMemoryExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionSerializationExceptionpublic void WriteEndObject(XmlWriter writer) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, OutOfMemoryException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, SerializationException
WriteEndObject in class XmlObjectSerializerjava.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionOutOfMemoryExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionSerializationExceptionpublic void WriteObject(Stream stream, NetObject graph) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, XmlException, OutOfMemoryException, SerializationException
WriteObject in class XmlObjectSerializerjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionXmlExceptionOutOfMemoryExceptionSerializationExceptionpublic void WriteObject(XmlDictionaryWriter writer, NetObject graph) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, OutOfMemoryException, SerializationException
WriteObject in class XmlObjectSerializerjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionOutOfMemoryExceptionSerializationExceptionpublic void WriteObject(XmlWriter writer, NetObject graph) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, OutOfMemoryException, SerializationException
WriteObject in class XmlObjectSerializerjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionOutOfMemoryExceptionSerializationExceptionpublic void WriteObjectContent(XmlDictionaryWriter writer, NetObject graph) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SerializationException, NotSupportedException, OutOfMemoryException
WriteObjectContent in class XmlObjectSerializerjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionSerializationExceptionNotSupportedExceptionOutOfMemoryExceptionpublic void WriteObjectContent(XmlWriter writer, NetObject graph) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SerializationException, NotSupportedException, OutOfMemoryException
WriteObjectContent in class XmlObjectSerializerjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionSerializationExceptionNotSupportedExceptionOutOfMemoryExceptionpublic void WriteStartObject(XmlDictionaryWriter writer, NetObject graph) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, OutOfMemoryException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, SerializationException
WriteStartObject in class XmlObjectSerializerjava.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionOutOfMemoryExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionSerializationExceptionpublic void WriteStartObject(XmlWriter writer, NetObject graph) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, OutOfMemoryException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, SerializationException
WriteStartObject in class XmlObjectSerializerjava.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionOutOfMemoryExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionSerializationException