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=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.Nodes.JsonValue
|
static 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)
Invokes the .NET member Create.
|
static JsonValue |
Create(byte value,
Nullable_1 options)
Invokes the .NET member Create.
|
static JsonValue |
Create(char value,
Nullable_1 options)
Invokes the .NET member Create.
|
static JsonValue |
Create(DateTime value,
Nullable_1 options)
Invokes the .NET member Create.
|
static JsonValue |
Create(DateTimeOffset value,
Nullable_1 options)
Invokes the .NET member Create.
|
static JsonValue |
Create(Decimal value,
Nullable_1 options)
Invokes the .NET member Create.
|
static JsonValue |
Create(double value,
Nullable_1 options)
Invokes the .NET member Create.
|
static JsonValue |
Create(Guid value,
Nullable_1 options)
Invokes the .NET member Create.
|
static JsonValue |
Create(int value,
Nullable_1 options)
Invokes the .NET member Create.
|
static JsonValue |
Create(JsonElement value,
Nullable_1 options)
Invokes the .NET member Create.
|
static JsonValue |
Create(long value,
Nullable_1 options)
Invokes the .NET member Create.
|
static JsonValue |
Create(Nullable_1 value,
Nullable_1 options)
Invokes the .NET member Create.
|
static JsonValue |
Create(SByte value,
Nullable_1 options)
Invokes the .NET member Create.
|
static JsonValue |
Create(short value,
Nullable_1 options)
Invokes the .NET member Create.
|
static JsonValue |
Create(Single value,
Nullable_1 options)
Invokes the .NET member Create.
|
static JsonValue |
Create(java.lang.String value,
Nullable_1 options)
Invokes the .NET member Create.
|
static <T extends IJCOBridgeReflected> |
Create(T value,
JsonTypeInfo_1 jsonTypeInfo,
Nullable_1 options)
Invokes the .NET member Create.
|
static <T extends IJCOBridgeReflected> |
Create(T value,
Nullable_1 options)
Invokes the .NET member Create.
|
static JsonValue |
Create(UInt16 value,
Nullable_1 options)
Invokes the .NET member Create.
|
static JsonValue |
Create(UInt32 value,
Nullable_1 options)
Invokes the .NET member Create.
|
static JsonValue |
Create(UInt64 value,
Nullable_1 options)
Invokes the .NET member Create.
|
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. |
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
<T extends IJCOBridgeReflected> |
TryGetValue(JCORefOut<T> value)
Invokes the .NET member TryGetValue.
|
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 JsonValue()
throws java.lang.Throwable
java.lang.Throwablepublic JsonValue(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 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, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
value - the argument of type booleanoptions - the argument of type Nullable_1java.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic static JsonValue Create(byte value, Nullable_1 options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
value - the argument of type byteoptions - the argument of type Nullable_1java.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic static JsonValue Create(char value, Nullable_1 options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
value - the argument of type charoptions - the argument of type Nullable_1java.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic static JsonValue Create(DateTime value, Nullable_1 options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
value - the argument of type DateTimeoptions - the argument of type Nullable_1java.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic static JsonValue Create(DateTimeOffset value, Nullable_1 options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
value - the argument of type DateTimeOffsetoptions - the argument of type Nullable_1java.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic static JsonValue Create(Decimal value, Nullable_1 options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
value - the argument of type Decimaloptions - the argument of type Nullable_1java.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic static JsonValue Create(double value, Nullable_1 options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
value - the argument of type doubleoptions - the argument of type Nullable_1java.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic static JsonValue Create(Guid value, Nullable_1 options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
value - the argument of type Guidoptions - the argument of type Nullable_1java.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic static JsonValue Create(int value, Nullable_1 options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
value - the argument of type intoptions - the argument of type Nullable_1java.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic static JsonValue Create(JsonElement value, Nullable_1 options) throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, InvalidOperationException, ArgumentException, CultureNotFoundException
value - the argument of type JsonElementoptions - the argument of type Nullable_1java.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static JsonValue Create(long value, Nullable_1 options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
value - the argument of type longoptions - the argument of type Nullable_1java.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic static JsonValue Create(Nullable_1 value, Nullable_1 options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
value - the argument of type Nullable_1options - the argument of type Nullable_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 itpublic static JsonValue Create(SByte value, Nullable_1 options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
value - the argument of type SByteoptions - the argument of type Nullable_1java.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic static JsonValue Create(short value, Nullable_1 options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
value - the argument of type shortoptions - the argument of type Nullable_1java.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic static JsonValue Create(Single value, Nullable_1 options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
value - the argument of type Singleoptions - the argument of type Nullable_1java.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic static JsonValue Create(java.lang.String value, Nullable_1 options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
value - the argument of type java.lang.Stringoptions - the argument of type Nullable_1java.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic static <T extends IJCOBridgeReflected> JsonValue Create(T value, JsonTypeInfo_1 jsonTypeInfo, Nullable_1 options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException
T - the type of the generic argument Tvalue - the argument of type TjsonTypeInfo - the argument of type JsonTypeInfo_1options - the argument of type Nullable_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 <T extends IJCOBridgeReflected> JsonValue Create(T value, Nullable_1 options) throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, InvalidOperationException, ArgumentException, CultureNotFoundException, IndexOutOfRangeException, RankException, ArgumentNullException, NotSupportedException, KeyNotFoundException
T - the type of the generic argument Tvalue - the argument of type Toptions - the argument of type Nullable_1java.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentNullException - if the .NET member raises itNotSupportedException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static JsonValue Create(UInt16 value, Nullable_1 options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
value - the argument of type UInt16options - the argument of type Nullable_1java.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic static JsonValue Create(UInt32 value, Nullable_1 options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
value - the argument of type UInt32options - the argument of type Nullable_1java.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic static JsonValue Create(UInt64 value, Nullable_1 options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
value - the argument of type UInt64options - the argument of type Nullable_1java.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class JsonNodepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class JsonNodepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class JsonNodenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class JsonNodepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class JsonNodepublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class JsonNodeinstance - the new underlying objectpublic <T extends IJCOBridgeReflected> boolean TryGetValue(JCORefOut<T> value) throws java.lang.Throwable
T - the type of the generic argument Tvalue - the argument of type JCORefOut<T>java.lang.Throwable - if the call fails in the bridge or in the CLR