public class JsonSerializer extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Text.Json.JsonSerializer
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.Text.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Text.Json
|
static java.lang.String |
className
Qualified class name: System.Text.Json.JsonSerializer
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
JsonSerializer() |
JsonSerializer(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static JsonSerializer |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into JsonSerializer, a cast assert is made to check if types are compatible. |
static NetObject |
Deserialize(JsonDocument document,
JsonTypeInfo jsonTypeInfo)
Invokes the .NET member Deserialize.
|
static NetObject |
Deserialize(JsonDocument document,
NetType returnType,
JsonSerializerContext context)
Invokes the .NET member Deserialize.
|
static NetObject |
Deserialize(JsonDocument document,
NetType returnType,
JsonSerializerOptions options)
Invokes the .NET member Deserialize.
|
static NetObject |
Deserialize(JsonElement element,
JsonTypeInfo jsonTypeInfo)
Invokes the .NET member Deserialize.
|
static NetObject |
Deserialize(JsonElement element,
NetType returnType,
JsonSerializerContext context)
Invokes the .NET member Deserialize.
|
static NetObject |
Deserialize(JsonElement element,
NetType returnType,
JsonSerializerOptions options)
Invokes the .NET member Deserialize.
|
static NetObject |
Deserialize(JsonNode node,
JsonTypeInfo jsonTypeInfo)
Invokes the .NET member Deserialize.
|
static NetObject |
Deserialize(JsonNode node,
NetType returnType,
JsonSerializerContext context)
Invokes the .NET member Deserialize.
|
static NetObject |
Deserialize(JsonNode node,
NetType returnType,
JsonSerializerOptions options)
Invokes the .NET member Deserialize.
|
static NetObject |
Deserialize(Stream utf8Json,
JsonTypeInfo jsonTypeInfo)
Invokes the .NET member Deserialize.
|
static NetObject |
Deserialize(Stream utf8Json,
NetType returnType,
JsonSerializerContext context)
Invokes the .NET member Deserialize.
|
static NetObject |
Deserialize(Stream utf8Json,
NetType returnType,
JsonSerializerOptions options)
Invokes the .NET member Deserialize.
|
static NetObject |
Deserialize(java.lang.String json,
JsonTypeInfo jsonTypeInfo)
Invokes the .NET member Deserialize.
|
static NetObject |
Deserialize(java.lang.String json,
NetType returnType,
JsonSerializerContext context)
Invokes the .NET member Deserialize.
|
static NetObject |
Deserialize(java.lang.String json,
NetType returnType,
JsonSerializerOptions options)
Invokes the .NET member Deserialize.
|
static <TValue extends IJCOBridgeReflected> |
DeserializeAsync(Stream utf8Json,
JsonSerializerOptions options,
CancellationToken cancellationToken)
Invokes the .NET member DeserializeAsync.
|
static <TValue extends IJCOBridgeReflected> |
DeserializeAsync(Stream utf8Json,
JsonTypeInfo_1 jsonTypeInfo,
CancellationToken cancellationToken)
Invokes the .NET member DeserializeAsync.
|
static ValueTask_1 |
DeserializeAsync(Stream utf8Json,
JsonTypeInfo jsonTypeInfo,
CancellationToken cancellationToken)
Invokes the .NET member DeserializeAsync.
|
static ValueTask_1 |
DeserializeAsync(Stream utf8Json,
NetType returnType,
JsonSerializerContext context,
CancellationToken cancellationToken)
Invokes the .NET member DeserializeAsync.
|
static ValueTask_1 |
DeserializeAsync(Stream utf8Json,
NetType returnType,
JsonSerializerOptions options,
CancellationToken cancellationToken)
Invokes the .NET member DeserializeAsync.
|
static <TValue extends IJCOBridgeReflected> |
DeserializeAsyncEnumerable(Stream utf8Json,
JsonSerializerOptions options,
CancellationToken cancellationToken)
Invokes the .NET member DeserializeAsyncEnumerable.
|
static <TValue extends IJCOBridgeReflected> |
DeserializeAsyncEnumerable(Stream utf8Json,
JsonTypeInfo_1 jsonTypeInfo,
CancellationToken cancellationToken)
Invokes the .NET member DeserializeAsyncEnumerable.
|
static boolean |
getIsReflectionEnabledByDefault()
Gets the value of the .NET property IsReflectionEnabledByDefault.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
static java.lang.String |
Serialize(NetObject value,
JsonTypeInfo jsonTypeInfo)
Invokes the .NET member Serialize.
|
static java.lang.String |
Serialize(NetObject value,
NetType inputType,
JsonSerializerContext context)
Invokes the .NET member Serialize.
|
static java.lang.String |
Serialize(NetObject value,
NetType inputType,
JsonSerializerOptions options)
Invokes the .NET member Serialize.
|
static void |
Serialize(Stream utf8Json,
NetObject value,
JsonTypeInfo jsonTypeInfo)
Invokes the .NET member Serialize.
|
static void |
Serialize(Stream utf8Json,
NetObject value,
NetType inputType,
JsonSerializerContext context)
Invokes the .NET member Serialize.
|
static void |
Serialize(Stream utf8Json,
NetObject value,
NetType inputType,
JsonSerializerOptions options)
Invokes the .NET member Serialize.
|
static <TValue extends IJCOBridgeReflected> |
Serialize(Stream utf8Json,
TValue value,
JsonSerializerOptions options)
Invokes the .NET member Serialize.
|
static <TValue extends IJCOBridgeReflected> |
Serialize(Stream utf8Json,
TValue value,
JsonTypeInfo_1 jsonTypeInfo)
Invokes the .NET member Serialize.
|
static <TValue extends IJCOBridgeReflected> |
Serialize(TValue value,
JsonSerializerOptions options)
Invokes the .NET member Serialize.
|
static <TValue extends IJCOBridgeReflected> |
Serialize(TValue value,
JsonTypeInfo_1 jsonTypeInfo)
Invokes the .NET member Serialize.
|
static void |
Serialize(Utf8JsonWriter writer,
NetObject value,
JsonTypeInfo jsonTypeInfo)
Invokes the .NET member Serialize.
|
static void |
Serialize(Utf8JsonWriter writer,
NetObject value,
NetType inputType,
JsonSerializerContext context)
Invokes the .NET member Serialize.
|
static void |
Serialize(Utf8JsonWriter writer,
NetObject value,
NetType inputType,
JsonSerializerOptions options)
Invokes the .NET member Serialize.
|
static <TValue extends IJCOBridgeReflected> |
Serialize(Utf8JsonWriter writer,
TValue value,
JsonSerializerOptions options)
Invokes the .NET member Serialize.
|
static <TValue extends IJCOBridgeReflected> |
Serialize(Utf8JsonWriter writer,
TValue value,
JsonTypeInfo_1 jsonTypeInfo)
Invokes the .NET member Serialize.
|
static Task |
SerializeAsync(Stream utf8Json,
NetObject value,
JsonTypeInfo jsonTypeInfo,
CancellationToken cancellationToken)
Invokes the .NET member SerializeAsync.
|
static Task |
SerializeAsync(Stream utf8Json,
NetObject value,
NetType inputType,
JsonSerializerContext context,
CancellationToken cancellationToken)
Invokes the .NET member SerializeAsync.
|
static Task |
SerializeAsync(Stream utf8Json,
NetObject value,
NetType inputType,
JsonSerializerOptions options,
CancellationToken cancellationToken)
Invokes the .NET member SerializeAsync.
|
static <TValue extends IJCOBridgeReflected> |
SerializeAsync(Stream utf8Json,
TValue value,
JsonSerializerOptions options,
CancellationToken cancellationToken)
Invokes the .NET member SerializeAsync.
|
static <TValue extends IJCOBridgeReflected> |
SerializeAsync(Stream utf8Json,
TValue value,
JsonTypeInfo_1 jsonTypeInfo,
CancellationToken cancellationToken)
Invokes the .NET member SerializeAsync.
|
static JsonDocument |
SerializeToDocument(NetObject value,
JsonTypeInfo jsonTypeInfo)
Invokes the .NET member SerializeToDocument.
|
static JsonDocument |
SerializeToDocument(NetObject value,
NetType inputType,
JsonSerializerContext context)
Invokes the .NET member SerializeToDocument.
|
static JsonDocument |
SerializeToDocument(NetObject value,
NetType inputType,
JsonSerializerOptions options)
Invokes the .NET member SerializeToDocument.
|
static <TValue extends IJCOBridgeReflected> |
SerializeToDocument(TValue value,
JsonSerializerOptions options)
Invokes the .NET member SerializeToDocument.
|
static <TValue extends IJCOBridgeReflected> |
SerializeToDocument(TValue value,
JsonTypeInfo_1 jsonTypeInfo)
Invokes the .NET member SerializeToDocument.
|
static JsonElement |
SerializeToElement(NetObject value,
JsonTypeInfo jsonTypeInfo)
Invokes the .NET member SerializeToElement.
|
static JsonElement |
SerializeToElement(NetObject value,
NetType inputType,
JsonSerializerContext context)
Invokes the .NET member SerializeToElement.
|
static JsonElement |
SerializeToElement(NetObject value,
NetType inputType,
JsonSerializerOptions options)
Invokes the .NET member SerializeToElement.
|
static <TValue extends IJCOBridgeReflected> |
SerializeToElement(TValue value,
JsonSerializerOptions options)
Invokes the .NET member SerializeToElement.
|
static <TValue extends IJCOBridgeReflected> |
SerializeToElement(TValue value,
JsonTypeInfo_1 jsonTypeInfo)
Invokes the .NET member SerializeToElement.
|
static JsonNode |
SerializeToNode(NetObject value,
JsonTypeInfo jsonTypeInfo)
Invokes the .NET member SerializeToNode.
|
static JsonNode |
SerializeToNode(NetObject value,
NetType inputType,
JsonSerializerContext context)
Invokes the .NET member SerializeToNode.
|
static JsonNode |
SerializeToNode(NetObject value,
NetType inputType,
JsonSerializerOptions options)
Invokes the .NET member SerializeToNode.
|
static <TValue extends IJCOBridgeReflected> |
SerializeToNode(TValue value,
JsonSerializerOptions options)
Invokes the .NET member SerializeToNode.
|
static <TValue extends IJCOBridgeReflected> |
SerializeToNode(TValue value,
JsonTypeInfo_1 jsonTypeInfo)
Invokes the .NET member SerializeToNode.
|
static byte[] |
SerializeToUtf8Bytes(NetObject value,
JsonTypeInfo jsonTypeInfo)
Invokes the .NET member SerializeToUtf8Bytes.
|
static byte[] |
SerializeToUtf8Bytes(NetObject value,
NetType inputType,
JsonSerializerContext context)
Invokes the .NET member SerializeToUtf8Bytes.
|
static byte[] |
SerializeToUtf8Bytes(NetObject value,
NetType inputType,
JsonSerializerOptions options)
Invokes the .NET member SerializeToUtf8Bytes.
|
static <TValue extends IJCOBridgeReflected> |
SerializeToUtf8Bytes(TValue value,
JsonSerializerOptions options)
Invokes the .NET member SerializeToUtf8Bytes.
|
static <TValue extends IJCOBridgeReflected> |
SerializeToUtf8Bytes(TValue value,
JsonTypeInfo_1 jsonTypeInfo)
Invokes the .NET member SerializeToUtf8Bytes.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public JsonSerializer()
throws java.lang.Throwable
java.lang.Throwablepublic JsonSerializer(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static JsonSerializer cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into JsonSerializer, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedJsonSerializer instancejava.lang.Throwable - in case of error during cast operationpublic static NetObject Deserialize(JsonDocument document, JsonTypeInfo jsonTypeInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException
document - the argument of type JsonDocumentjsonTypeInfo - the argument of type JsonTypeInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static NetObject Deserialize(JsonDocument document, NetType returnType, JsonSerializerContext context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, KeyNotFoundException
document - the argument of type JsonDocumentreturnType - the argument of type NetTypecontext - the argument of type JsonSerializerContextjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static NetObject Deserialize(JsonDocument document, NetType returnType, JsonSerializerOptions options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException
document - the argument of type JsonDocumentreturnType - the argument of type NetTypeoptions - the argument of type JsonSerializerOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static NetObject Deserialize(JsonElement element, JsonTypeInfo jsonTypeInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException
element - the argument of type JsonElementjsonTypeInfo - the argument of type JsonTypeInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static NetObject Deserialize(JsonElement element, NetType returnType, JsonSerializerContext context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, KeyNotFoundException
element - the argument of type JsonElementreturnType - the argument of type NetTypecontext - the argument of type JsonSerializerContextjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static NetObject Deserialize(JsonElement element, NetType returnType, JsonSerializerOptions options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException
element - the argument of type JsonElementreturnType - the argument of type NetTypeoptions - the argument of type JsonSerializerOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static NetObject Deserialize(JsonNode node, JsonTypeInfo jsonTypeInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException
node - the argument of type JsonNodejsonTypeInfo - the argument of type JsonTypeInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static NetObject Deserialize(JsonNode node, NetType returnType, JsonSerializerContext context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, KeyNotFoundException, OutOfMemoryException
node - the argument of type JsonNodereturnType - the argument of type NetTypecontext - the argument of type JsonSerializerContextjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static NetObject Deserialize(JsonNode node, NetType returnType, JsonSerializerOptions options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException
node - the argument of type JsonNodereturnType - the argument of type NetTypeoptions - the argument of type JsonSerializerOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static NetObject Deserialize(Stream utf8Json, JsonTypeInfo jsonTypeInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException
utf8Json - the argument of type StreamjsonTypeInfo - the argument of type JsonTypeInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static NetObject Deserialize(Stream utf8Json, NetType returnType, JsonSerializerContext context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, KeyNotFoundException
utf8Json - the argument of type StreamreturnType - the argument of type NetTypecontext - the argument of type JsonSerializerContextjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static NetObject Deserialize(Stream utf8Json, NetType returnType, JsonSerializerOptions options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException
utf8Json - the argument of type StreamreturnType - the argument of type NetTypeoptions - the argument of type JsonSerializerOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static NetObject Deserialize(java.lang.String json, JsonTypeInfo jsonTypeInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException
json - the argument of type java.lang.StringjsonTypeInfo - the argument of type JsonTypeInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static NetObject Deserialize(java.lang.String json, NetType returnType, JsonSerializerContext context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, KeyNotFoundException
json - the argument of type java.lang.StringreturnType - the argument of type NetTypecontext - the argument of type JsonSerializerContextjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static NetObject Deserialize(java.lang.String json, NetType returnType, JsonSerializerOptions options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException
json - the argument of type java.lang.StringreturnType - the argument of type NetTypeoptions - the argument of type JsonSerializerOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static <TValue extends IJCOBridgeReflected> ValueTask_1 DeserializeAsync(Stream utf8Json, JsonSerializerOptions options, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
TValue - the type of the generic argument TValueutf8Json - the argument of type Streamoptions - the argument of type JsonSerializerOptionscancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static <TValue extends IJCOBridgeReflected> ValueTask_1 DeserializeAsync(Stream utf8Json, JsonTypeInfo_1 jsonTypeInfo, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException
TValue - the type of the generic argument TValueutf8Json - the argument of type StreamjsonTypeInfo - the argument of type JsonTypeInfo_1cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static ValueTask_1 DeserializeAsync(Stream utf8Json, JsonTypeInfo jsonTypeInfo, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException
utf8Json - the argument of type StreamjsonTypeInfo - the argument of type JsonTypeInfocancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static ValueTask_1 DeserializeAsync(Stream utf8Json, NetType returnType, JsonSerializerContext context, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, KeyNotFoundException
utf8Json - the argument of type StreamreturnType - the argument of type NetTypecontext - the argument of type JsonSerializerContextcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static ValueTask_1 DeserializeAsync(Stream utf8Json, NetType returnType, JsonSerializerOptions options, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException
utf8Json - the argument of type StreamreturnType - the argument of type NetTypeoptions - the argument of type JsonSerializerOptionscancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static <TValue extends IJCOBridgeReflected> IAsyncEnumerable_1 DeserializeAsyncEnumerable(Stream utf8Json, JsonSerializerOptions options, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
TValue - the type of the generic argument TValueutf8Json - the argument of type Streamoptions - the argument of type JsonSerializerOptionscancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static <TValue extends IJCOBridgeReflected> IAsyncEnumerable_1 DeserializeAsyncEnumerable(Stream utf8Json, JsonTypeInfo_1 jsonTypeInfo, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException
TValue - the type of the generic argument TValueutf8Json - the argument of type StreamjsonTypeInfo - the argument of type JsonTypeInfo_1cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static boolean getIsReflectionEnabledByDefault()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic static java.lang.String Serialize(NetObject value, JsonTypeInfo jsonTypeInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException
value - the argument of type NetObjectjsonTypeInfo - the argument of type JsonTypeInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static java.lang.String Serialize(NetObject value, NetType inputType, JsonSerializerContext context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, KeyNotFoundException
value - the argument of type NetObjectinputType - the argument of type NetTypecontext - the argument of type JsonSerializerContextjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static java.lang.String Serialize(NetObject value, NetType inputType, JsonSerializerOptions options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, KeyNotFoundException
value - the argument of type NetObjectinputType - the argument of type NetTypeoptions - the argument of type JsonSerializerOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static void Serialize(Stream utf8Json, NetObject value, JsonTypeInfo jsonTypeInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException
utf8Json - the argument of type Streamvalue - the argument of type NetObjectjsonTypeInfo - the argument of type JsonTypeInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static void Serialize(Stream utf8Json, NetObject value, NetType inputType, JsonSerializerContext context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, KeyNotFoundException
utf8Json - the argument of type Streamvalue - the argument of type NetObjectinputType - the argument of type NetTypecontext - the argument of type JsonSerializerContextjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static void Serialize(Stream utf8Json, NetObject value, NetType inputType, JsonSerializerOptions options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, KeyNotFoundException
utf8Json - the argument of type Streamvalue - the argument of type NetObjectinputType - the argument of type NetTypeoptions - the argument of type JsonSerializerOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static <TValue extends IJCOBridgeReflected> void Serialize(Stream utf8Json, TValue value, JsonSerializerOptions options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, OutOfMemoryException
TValue - the type of the generic argument TValueutf8Json - the argument of type Streamvalue - the argument of type TValueoptions - the argument of type JsonSerializerOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static <TValue extends IJCOBridgeReflected> void Serialize(Stream utf8Json, TValue value, JsonTypeInfo_1 jsonTypeInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException
TValue - the type of the generic argument TValueutf8Json - the argument of type Streamvalue - the argument of type TValuejsonTypeInfo - the argument of type JsonTypeInfo_1java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static <TValue extends IJCOBridgeReflected> java.lang.String Serialize(TValue value, JsonSerializerOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, ObjectDisposedException, OutOfMemoryException
TValue - the type of the generic argument TValuevalue - the argument of type TValueoptions - the argument of type JsonSerializerOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static <TValue extends IJCOBridgeReflected> java.lang.String Serialize(TValue value, JsonTypeInfo_1 jsonTypeInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException
TValue - the type of the generic argument TValuevalue - the argument of type TValuejsonTypeInfo - the argument of type JsonTypeInfo_1java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static void Serialize(Utf8JsonWriter writer, NetObject value, JsonTypeInfo jsonTypeInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException
writer - the argument of type Utf8JsonWritervalue - the argument of type NetObjectjsonTypeInfo - the argument of type JsonTypeInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static void Serialize(Utf8JsonWriter writer, NetObject value, NetType inputType, JsonSerializerContext context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, KeyNotFoundException
writer - the argument of type Utf8JsonWritervalue - the argument of type NetObjectinputType - the argument of type NetTypecontext - the argument of type JsonSerializerContextjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static void Serialize(Utf8JsonWriter writer, NetObject value, NetType inputType, JsonSerializerOptions options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, KeyNotFoundException
writer - the argument of type Utf8JsonWritervalue - the argument of type NetObjectinputType - the argument of type NetTypeoptions - the argument of type JsonSerializerOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static <TValue extends IJCOBridgeReflected> void Serialize(Utf8JsonWriter writer, TValue value, JsonSerializerOptions options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, OutOfMemoryException
TValue - the type of the generic argument TValuewriter - the argument of type Utf8JsonWritervalue - the argument of type TValueoptions - the argument of type JsonSerializerOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static <TValue extends IJCOBridgeReflected> void Serialize(Utf8JsonWriter writer, TValue value, JsonTypeInfo_1 jsonTypeInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException
TValue - the type of the generic argument TValuewriter - the argument of type Utf8JsonWritervalue - the argument of type TValuejsonTypeInfo - the argument of type JsonTypeInfo_1java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static Task SerializeAsync(Stream utf8Json, NetObject value, JsonTypeInfo jsonTypeInfo, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException
utf8Json - the argument of type Streamvalue - the argument of type NetObjectjsonTypeInfo - the argument of type JsonTypeInfocancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static Task SerializeAsync(Stream utf8Json, NetObject value, NetType inputType, JsonSerializerContext context, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, KeyNotFoundException
utf8Json - the argument of type Streamvalue - the argument of type NetObjectinputType - the argument of type NetTypecontext - the argument of type JsonSerializerContextcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static Task SerializeAsync(Stream utf8Json, NetObject value, NetType inputType, JsonSerializerOptions options, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, KeyNotFoundException
utf8Json - the argument of type Streamvalue - the argument of type NetObjectinputType - the argument of type NetTypeoptions - the argument of type JsonSerializerOptionscancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static <TValue extends IJCOBridgeReflected> Task SerializeAsync(Stream utf8Json, TValue value, JsonSerializerOptions options, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
TValue - the type of the generic argument TValueutf8Json - the argument of type Streamvalue - the argument of type TValueoptions - the argument of type JsonSerializerOptionscancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static <TValue extends IJCOBridgeReflected> Task SerializeAsync(Stream utf8Json, TValue value, JsonTypeInfo_1 jsonTypeInfo, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException
TValue - the type of the generic argument TValueutf8Json - the argument of type Streamvalue - the argument of type TValuejsonTypeInfo - the argument of type JsonTypeInfo_1cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static JsonDocument SerializeToDocument(NetObject value, JsonTypeInfo jsonTypeInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException, JsonException
value - the argument of type NetObjectjsonTypeInfo - the argument of type JsonTypeInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itJsonException - if the .NET member raises itpublic static JsonDocument SerializeToDocument(NetObject value, NetType inputType, JsonSerializerContext context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, KeyNotFoundException, JsonException
value - the argument of type NetObjectinputType - the argument of type NetTypecontext - the argument of type JsonSerializerContextjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itJsonException - if the .NET member raises itpublic static JsonDocument SerializeToDocument(NetObject value, NetType inputType, JsonSerializerOptions options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, KeyNotFoundException, JsonException
value - the argument of type NetObjectinputType - the argument of type NetTypeoptions - the argument of type JsonSerializerOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itJsonException - if the .NET member raises itpublic static <TValue extends IJCOBridgeReflected> JsonDocument SerializeToDocument(TValue value, JsonSerializerOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, ObjectDisposedException, OutOfMemoryException, JsonException
TValue - the type of the generic argument TValuevalue - the argument of type TValueoptions - the argument of type JsonSerializerOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itJsonException - if the .NET member raises itpublic static <TValue extends IJCOBridgeReflected> JsonDocument SerializeToDocument(TValue value, JsonTypeInfo_1 jsonTypeInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException, JsonException
TValue - the type of the generic argument TValuevalue - the argument of type TValuejsonTypeInfo - the argument of type JsonTypeInfo_1java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itJsonException - if the .NET member raises itpublic static JsonElement SerializeToElement(NetObject value, JsonTypeInfo jsonTypeInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException, JsonException
value - the argument of type NetObjectjsonTypeInfo - the argument of type JsonTypeInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itJsonException - if the .NET member raises itpublic static JsonElement SerializeToElement(NetObject value, NetType inputType, JsonSerializerContext context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, KeyNotFoundException, JsonException
value - the argument of type NetObjectinputType - the argument of type NetTypecontext - the argument of type JsonSerializerContextjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itJsonException - if the .NET member raises itpublic static JsonElement SerializeToElement(NetObject value, NetType inputType, JsonSerializerOptions options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, KeyNotFoundException, JsonException
value - the argument of type NetObjectinputType - the argument of type NetTypeoptions - the argument of type JsonSerializerOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itJsonException - if the .NET member raises itpublic static <TValue extends IJCOBridgeReflected> JsonElement SerializeToElement(TValue value, JsonSerializerOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, ObjectDisposedException, OutOfMemoryException, JsonException
TValue - the type of the generic argument TValuevalue - the argument of type TValueoptions - the argument of type JsonSerializerOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itJsonException - if the .NET member raises itpublic static <TValue extends IJCOBridgeReflected> JsonElement SerializeToElement(TValue value, JsonTypeInfo_1 jsonTypeInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException, JsonException
TValue - the type of the generic argument TValuevalue - the argument of type TValuejsonTypeInfo - the argument of type JsonTypeInfo_1java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itJsonException - if the .NET member raises itpublic static JsonNode SerializeToNode(NetObject value, JsonTypeInfo jsonTypeInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException
value - the argument of type NetObjectjsonTypeInfo - the argument of type JsonTypeInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static JsonNode SerializeToNode(NetObject value, NetType inputType, JsonSerializerContext context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, KeyNotFoundException
value - the argument of type NetObjectinputType - the argument of type NetTypecontext - the argument of type JsonSerializerContextjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static JsonNode SerializeToNode(NetObject value, NetType inputType, JsonSerializerOptions options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, KeyNotFoundException
value - the argument of type NetObjectinputType - the argument of type NetTypeoptions - the argument of type JsonSerializerOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static <TValue extends IJCOBridgeReflected> JsonNode SerializeToNode(TValue value, JsonSerializerOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, ObjectDisposedException, OutOfMemoryException
TValue - the type of the generic argument TValuevalue - the argument of type TValueoptions - the argument of type JsonSerializerOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static <TValue extends IJCOBridgeReflected> JsonNode SerializeToNode(TValue value, JsonTypeInfo_1 jsonTypeInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException
TValue - the type of the generic argument TValuevalue - the argument of type TValuejsonTypeInfo - the argument of type JsonTypeInfo_1java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static byte[] SerializeToUtf8Bytes(NetObject value, JsonTypeInfo jsonTypeInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException
value - the argument of type NetObjectjsonTypeInfo - the argument of type JsonTypeInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static byte[] SerializeToUtf8Bytes(NetObject value, NetType inputType, JsonSerializerContext context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, KeyNotFoundException
value - the argument of type NetObjectinputType - the argument of type NetTypecontext - the argument of type JsonSerializerContextjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static byte[] SerializeToUtf8Bytes(NetObject value, NetType inputType, JsonSerializerOptions options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, KeyNotFoundException
value - the argument of type NetObjectinputType - the argument of type NetTypeoptions - the argument of type JsonSerializerOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static <TValue extends IJCOBridgeReflected> byte[] SerializeToUtf8Bytes(TValue value, JsonSerializerOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, ObjectDisposedException, OutOfMemoryException
TValue - the type of the generic argument TValuevalue - the argument of type TValueoptions - the argument of type JsonSerializerOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static <TValue extends IJCOBridgeReflected> byte[] SerializeToUtf8Bytes(TValue value, JsonTypeInfo_1 jsonTypeInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException
TValue - the type of the generic argument TValuevalue - the argument of type TValuejsonTypeInfo - the argument of type JsonTypeInfo_1java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying object