public class JsonValue extends JsonNode
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Text.Json.Nodes.JsonValue
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=10.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.Nodes.JsonValue
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
JsonValue() |
JsonValue(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static JsonValue |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into JsonValue, a cast assert is made to check if types are compatible. |
static JsonValue |
Create(boolean value,
Nullable_1 options) |
static JsonValue |
Create(byte value,
Nullable_1 options) |
static JsonValue |
Create(char value,
Nullable_1 options) |
static JsonValue |
Create(DateTime value,
Nullable_1 options) |
static JsonValue |
Create(DateTimeOffset value,
Nullable_1 options) |
static JsonValue |
Create(Decimal value,
Nullable_1 options) |
static JsonValue |
Create(double value,
Nullable_1 options) |
static JsonValue |
Create(Guid value,
Nullable_1 options) |
static JsonValue |
Create(int value,
Nullable_1 options) |
static JsonValue |
Create(JsonElement value,
Nullable_1 options) |
static JsonValue |
Create(long value,
Nullable_1 options) |
static JsonValue |
Create(Nullable_1 value,
Nullable_1 options) |
static JsonValue |
Create(SByte value,
Nullable_1 options) |
static JsonValue |
Create(short value,
Nullable_1 options) |
static JsonValue |
Create(Single value,
Nullable_1 options) |
static JsonValue |
Create(java.lang.String value,
Nullable_1 options) |
static <T extends IJCOBridgeReflected> |
Create(T value,
JsonTypeInfo_1 jsonTypeInfo,
Nullable_1 options) |
static <T extends IJCOBridgeReflected> |
Create(T value,
Nullable_1 options) |
static JsonValue |
Create(UInt16 value,
Nullable_1 options) |
static JsonValue |
Create(UInt32 value,
Nullable_1 options) |
static JsonValue |
Create(UInt64 value,
Nullable_1 options) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
<T extends IJCOBridgeReflected> |
TryGetValue(JCORefOut<T> value) |
AsArray, AsObject, AsValue, DeepClone, DeepEquals, GetElementIndex, getOptions, getParent, GetPath, GetPropertyName, getRoot, GetValueKind, Parse, Parse, ParseAsync, ReplaceWith, setParent, ToJsonString, WriteTopublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic JsonValue()
throws java.lang.Throwable
java.lang.Throwablepublic JsonValue(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static JsonValue cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into JsonValue, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedJsonValue instancejava.lang.Throwable - in case of error during cast operationpublic static JsonValue Create(boolean value, Nullable_1 options) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic static JsonValue Create(byte value, Nullable_1 options) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic static JsonValue Create(char value, Nullable_1 options) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic static JsonValue Create(DateTime value, Nullable_1 options) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic static JsonValue Create(DateTimeOffset value, Nullable_1 options) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic static JsonValue Create(Decimal value, Nullable_1 options) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic static JsonValue Create(double value, Nullable_1 options) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic static JsonValue Create(Guid value, Nullable_1 options) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic static JsonValue Create(int value, Nullable_1 options) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic static JsonValue Create(JsonElement value, Nullable_1 options) throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentException, ArgumentNullException, CultureNotFoundException, InvalidOperationException
public static JsonValue Create(long value, Nullable_1 options) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic static JsonValue Create(Nullable_1 value, Nullable_1 options) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
public static JsonValue Create(SByte value, Nullable_1 options) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic static JsonValue Create(short value, Nullable_1 options) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic static JsonValue Create(Single value, Nullable_1 options) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic static JsonValue Create(java.lang.String value, Nullable_1 options) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic static <T extends IJCOBridgeReflected> JsonValue Create(T value, JsonTypeInfo_1 jsonTypeInfo, Nullable_1 options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, CultureNotFoundException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionNullReferenceExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionKeyNotFoundExceptionOutOfMemoryExceptionpublic static <T extends IJCOBridgeReflected> JsonValue Create(T value, Nullable_1 options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, ArrayTypeMismatchException, IndexOutOfRangeException, RankException, KeyNotFoundException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionRankExceptionKeyNotFoundExceptionpublic static JsonValue Create(UInt16 value, Nullable_1 options) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic static JsonValue Create(UInt32 value, Nullable_1 options) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic static JsonValue Create(UInt64 value, Nullable_1 options) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class JsonNodeString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class JsonNodeString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class JsonNodeObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class JsonNodeString representing the name used to allocated the object
in CLR contextpublic org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class JsonNodeJCType representing the CLR Type of the instantiated Classpublic void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class JsonNodepublic <T extends IJCOBridgeReflected> boolean TryGetValue(JCORefOut<T> value) throws java.lang.Throwable
java.lang.Throwable