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.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Runtime.Serialization
|
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, ArgumentException, ArgumentNullException, MissingManifestResourceException, OutOfMemoryException, NotSupportedException, InvalidOperationException, InvalidDataContractException, NotImplementedException
public DataContractJsonSerializer(NetType type, DataContractJsonSerializerSettings settings) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OverflowException, OutOfMemoryException, NotSupportedException, InvalidDataContractException, NotImplementedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionInvalidDataContractExceptionNotImplementedExceptionpublic DataContractJsonSerializer(NetType type, java.lang.String rootName) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, MissingManifestResourceException, OutOfMemoryException, NotSupportedException
public DataContractJsonSerializer(NetType type, XmlDictionaryString rootName) throws java.lang.Throwable, ArgumentException, ArgumentNullException, OutOfMemoryException, NotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionOutOfMemoryExceptionNotSupportedExceptionArgumentOutOfRangeExceptionpublic 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 IDataContractSurrogate getDataContractSurrogate() throws java.lang.Throwable
java.lang.Throwablepublic 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 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, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, OutOfMemoryException, NotSupportedException
IsStartObject in class XmlObjectSerializerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionOutOfMemoryExceptionNotSupportedExceptionpublic boolean IsStartObject(XmlReader reader) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, OutOfMemoryException, NotSupportedException
IsStartObject in class XmlObjectSerializerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionOutOfMemoryExceptionNotSupportedExceptionpublic NetObject ReadObject(Stream stream) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, SecurityException, OutOfMemoryException, NotSupportedException, KeyNotFoundException
ReadObject in class XmlObjectSerializerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionConfigurationErrorsExceptionArgumentOutOfRangeExceptionOverflowExceptionSecurityExceptionOutOfMemoryExceptionNotSupportedExceptionKeyNotFoundExceptionpublic NetObject ReadObject(XmlDictionaryReader reader) throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, OutOfMemoryException, NotImplementedException, CultureNotFoundException, ArgumentOutOfRangeException, NotSupportedException, KeyNotFoundException
public NetObject ReadObject(XmlDictionaryReader reader, boolean verifyObjectName) throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, OutOfMemoryException, NotImplementedException, CultureNotFoundException, ArgumentOutOfRangeException, NotSupportedException, KeyNotFoundException
public NetObject ReadObject(XmlReader reader) throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, OutOfMemoryException, NotImplementedException, CultureNotFoundException, ArgumentOutOfRangeException, NotSupportedException, KeyNotFoundException
public NetObject ReadObject(XmlReader reader, boolean verifyObjectName) throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, OutOfMemoryException, NotImplementedException, CultureNotFoundException, ArgumentOutOfRangeException, NotSupportedException, KeyNotFoundException
public void setJCOInstance(JCObject instance)
setJCOInstance in class XmlObjectSerializerpublic void WriteEndObject(XmlDictionaryWriter writer) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, OutOfMemoryException, NotSupportedException
WriteEndObject in class XmlObjectSerializerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionOutOfMemoryExceptionNotSupportedExceptionpublic void WriteEndObject(XmlWriter writer) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, OutOfMemoryException, NotSupportedException
WriteEndObject in class XmlObjectSerializerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionOutOfMemoryExceptionNotSupportedExceptionpublic void WriteObject(Stream stream, NetObject graph) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, SecurityException, OutOfMemoryException, NotSupportedException, KeyNotFoundException
WriteObject in class XmlObjectSerializerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionConfigurationErrorsExceptionArgumentOutOfRangeExceptionOverflowExceptionSecurityExceptionOutOfMemoryExceptionNotSupportedExceptionKeyNotFoundExceptionpublic void WriteObject(XmlDictionaryWriter writer, NetObject graph) throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, OutOfMemoryException, NotImplementedException, CultureNotFoundException, ArgumentOutOfRangeException, NotSupportedException, KeyNotFoundException
public void WriteObject(XmlWriter writer, NetObject graph) throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, OutOfMemoryException, NotImplementedException, CultureNotFoundException, ArgumentOutOfRangeException, NotSupportedException, KeyNotFoundException
public void WriteObjectContent(XmlDictionaryWriter writer, NetObject graph) throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, OutOfMemoryException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, KeyNotFoundException
WriteObjectContent in class XmlObjectSerializerjava.lang.ThrowableArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionOutOfMemoryExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionKeyNotFoundExceptionpublic void WriteObjectContent(XmlWriter writer, NetObject graph) throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, OutOfMemoryException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, KeyNotFoundException
WriteObjectContent in class XmlObjectSerializerjava.lang.ThrowableArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionOutOfMemoryExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionKeyNotFoundExceptionpublic void WriteStartObject(XmlDictionaryWriter writer, NetObject graph) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, OutOfMemoryException, NotSupportedException
WriteStartObject in class XmlObjectSerializerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionOutOfMemoryExceptionNotSupportedExceptionpublic void WriteStartObject(XmlWriter writer, NetObject graph) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, OutOfMemoryException, NotSupportedException
WriteStartObject in class XmlObjectSerializerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionOutOfMemoryExceptionNotSupportedException