public class JsonObject extends JsonNode
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Text.Json.Nodes.JsonObject
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.JsonObject
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
JsonObject() |
JsonObject(IEnumerable_1 properties,
Nullable_1 options) |
JsonObject(Nullable_1 options) |
JsonObject(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Add(KeyValuePair_2 property) |
void |
Add(java.lang.String propertyName,
JsonNode value) |
static JsonObject |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into JsonObject, a cast assert is made to check if types are compatible. |
void |
Clear() |
boolean |
ContainsKey(java.lang.String propertyName) |
static JsonObject |
Create(JsonElement element,
Nullable_1 options) |
int |
getCount() |
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
|
boolean |
Remove(java.lang.String propertyName) |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
boolean |
TryGetPropertyValue(java.lang.String propertyName,
JCORefOut<JsonNode> jsonNode) |
void |
WriteTo(Utf8JsonWriter writer,
JsonSerializerOptions options) |
AsArray, AsObject, AsValue, DeepClone, DeepEquals, GetElementIndex, getOptions, getParent, GetPath, GetPropertyName, getRoot, GetValueKind, Parse, Parse, ParseAsync, ReplaceWith, setParent, ToJsonStringpublic 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 JsonObject()
throws java.lang.Throwable
java.lang.Throwablepublic JsonObject(IEnumerable_1 properties, Nullable_1 options) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ObjectDisposedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentNullException
public JsonObject(Nullable_1 options) throws java.lang.Throwable
java.lang.Throwablepublic JsonObject(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void Add(KeyValuePair_2 property) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ObjectDisposedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentNullException
public void Add(java.lang.String propertyName,
JsonNode value)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
ArrayTypeMismatchException,
PlatformNotSupportedException,
ArgumentNullException
public static JsonObject cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into JsonObject, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedJsonObject instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
NotSupportedException,
IndexOutOfRangeException
public boolean ContainsKey(java.lang.String propertyName)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
ArrayTypeMismatchException,
PlatformNotSupportedException,
ArgumentNullException
public static JsonObject Create(JsonElement element, Nullable_1 options) throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, InvalidOperationException, ArgumentException, CultureNotFoundException
public int getCount()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
ArrayTypeMismatchException,
PlatformNotSupportedException,
ArgumentNullException
public 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 boolean Remove(java.lang.String propertyName)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class JsonNodepublic boolean TryGetPropertyValue(java.lang.String propertyName,
JCORefOut<JsonNode> jsonNode)
throws java.lang.Throwable
java.lang.Throwablepublic void WriteTo(Utf8JsonWriter writer, JsonSerializerOptions options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException, FormatException
WriteTo in class JsonNodejava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatException