Package system.text.json
Class Utf8JsonReader
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.ValueType
-
- system.text.json.Utf8JsonReader
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class Utf8JsonReader extends ValueType
The base .NET class managing System.Text.Json.Utf8JsonReader, System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51.See: https://docs.microsoft.com/en-us/dotnet/api/System.Text.Json.Utf8JsonReader
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static String
assemblyShortName
Assembly name: System.Text.Jsonstatic String
className
Qualified class name: System.Text.Json.Utf8JsonReaderstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description Utf8JsonReader()
Utf8JsonReader(Object instance)
Internal constructor.
-
Method Summary
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: System.Text.Json- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Text.Json.Utf8JsonReader- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classValueType
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classValueType
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classValueType
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classValueType
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classValueType
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classValueType
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static Utf8JsonReader cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoUtf8JsonReader
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
Utf8JsonReader
instance- Throws:
Throwable
- in case of error during cast operation
-
GetBoolean
public boolean GetBoolean() throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException
-
Read
public boolean Read() throws Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, FormatException, JsonException, InvalidOperationException
-
TryGetByte
public boolean TryGetByte(JCORefOut<AtomicReference<Byte>> value) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException
-
TryGetBytesFromBase64
public boolean TryGetBytesFromBase64(JCORefOut value) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
-
TryGetDateTime
public boolean TryGetDateTime(JCORefOut<DateTime> value) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException, OverflowException
-
TryGetDateTimeOffset
public boolean TryGetDateTimeOffset(JCORefOut<DateTimeOffset> value) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException
-
TryGetDecimal
public boolean TryGetDecimal(JCORefOut<Decimal> value) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException
-
TryGetDouble
public boolean TryGetDouble(JCORefOut<AtomicReference<Double>> value) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, OverflowException, NotSupportedException
-
TryGetGuid
public boolean TryGetGuid(JCORefOut<Guid> value) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException
-
TryGetInt16
public boolean TryGetInt16(JCORefOut<AtomicReference<Short>> value) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException
-
TryGetInt32
public boolean TryGetInt32(JCORefOut<AtomicInteger> value) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException
-
TryGetInt64
public boolean TryGetInt64(JCORefOut<AtomicLong> value) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException
-
TryGetSByte
public boolean TryGetSByte(JCORefOut<SByte> value) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException
-
TryGetSingle
public boolean TryGetSingle(JCORefOut<Single> value) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, OverflowException, NotSupportedException
-
TryGetUInt16
public boolean TryGetUInt16(JCORefOut<UInt16> value) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException
-
TryGetUInt32
public boolean TryGetUInt32(JCORefOut<UInt32> value) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException
-
TryGetUInt64
public boolean TryGetUInt64(JCORefOut<UInt64> value) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException
-
TrySkip
public boolean TrySkip() throws Throwable, ArgumentNullException, JsonException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException
-
ValueTextEquals
public boolean ValueTextEquals(String text) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, ArrayTypeMismatchException
-
GetByte
public byte GetByte() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException
-
GetBytesFromBase64
public byte[] GetBytesFromBase64() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException, NotSupportedException
-
GetDouble
public double GetDouble() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException, OverflowException
-
GetInt16
public short GetInt16() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException
-
GetInt32
public int GetInt32() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException
-
GetInt64
public long GetInt64() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException
-
GetSByte
public SByte GetSByte() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException
-
GetSingle
public Single GetSingle() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException, OverflowException
-
GetDateTime
public DateTime GetDateTime() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NotSupportedException, OverflowException
-
GetDateTimeOffset
public DateTimeOffset GetDateTimeOffset() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NotSupportedException
-
GetDecimal
public Decimal GetDecimal() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException
-
GetGuid
public Guid GetGuid() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NotSupportedException
-
GetComment
public String GetComment() throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException
-
GetString
public String GetString() throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
-
GetUInt16
public UInt16 GetUInt16() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException
-
GetUInt32
public UInt32 GetUInt32() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException
-
GetUInt64
public UInt64 GetUInt64() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException
-
Skip
public void Skip() throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, JsonException, IndexOutOfRangeException, PlatformNotSupportedException
-
setHasValueSequence
public void setHasValueSequence(boolean HasValueSequence) throws Throwable
- Throws:
Throwable
-
setTokenStartIndex
public void setTokenStartIndex(long TokenStartIndex) throws Throwable
- Throws:
Throwable
-
getPosition
public SequencePosition getPosition() throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException
-
getCurrentState
public JsonReaderState getCurrentState() throws Throwable
- Throws:
Throwable
-
getTokenType
public JsonTokenType getTokenType() throws Throwable
- Throws:
Throwable
-
-