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=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Text.Json.Utf8JsonReader
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Text.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static java.lang.String
assemblyShortName
Assembly name: System.Text.Jsonstatic java.lang.String
className
Qualified class name: System.Text.Json.Utf8JsonReaderstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description Utf8JsonReader()
Utf8JsonReader(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Utf8JsonReader
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoUtf8JsonReader
, a cast assert is made to check if types are compatible.boolean
GetBoolean()
byte
GetByte()
long
getBytesConsumed()
byte[]
GetBytesFromBase64()
java.lang.String
GetComment()
int
getCurrentDepth()
JsonReaderState
getCurrentState()
DateTime
GetDateTime()
DateTimeOffset
GetDateTimeOffset()
Decimal
GetDecimal()
double
GetDouble()
Guid
GetGuid()
boolean
getHasValueSequence()
short
GetInt16()
int
GetInt32()
long
GetInt64()
boolean
getIsFinalBlock()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeSequencePosition
getPosition()
SByte
GetSByte()
Single
GetSingle()
java.lang.String
GetString()
long
getTokenStartIndex()
JsonTokenType
getTokenType()
UInt16
GetUInt16()
UInt32
GetUInt32()
UInt64
GetUInt64()
boolean
getValueIsEscaped()
boolean
Read()
void
setHasValueSequence(boolean HasValueSequence)
void
setJCOInstance(JCObject instance)
void
setTokenStartIndex(long TokenStartIndex)
void
setValueIsEscaped(boolean ValueIsEscaped)
void
Skip()
boolean
TryGetByte(JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Byte>> value)
boolean
TryGetBytesFromBase64(JCORefOut value)
boolean
TryGetDateTime(JCORefOut<DateTime> value)
boolean
TryGetDateTimeOffset(JCORefOut<DateTimeOffset> value)
boolean
TryGetDecimal(JCORefOut<Decimal> value)
boolean
TryGetDouble(JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Double>> value)
boolean
TryGetGuid(JCORefOut<Guid> value)
boolean
TryGetInt16(JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Short>> value)
boolean
TryGetInt32(JCORefOut<java.util.concurrent.atomic.AtomicInteger> value)
boolean
TryGetInt64(JCORefOut<java.util.concurrent.atomic.AtomicLong> value)
boolean
TryGetSByte(JCORefOut<SByte> value)
boolean
TryGetSingle(JCORefOut<Single> value)
boolean
TryGetUInt16(JCORefOut<UInt16> value)
boolean
TryGetUInt32(JCORefOut<UInt32> value)
boolean
TryGetUInt64(JCORefOut<UInt64> value)
boolean
TrySkip()
boolean
ValueTextEquals(java.lang.String text)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Text.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Text.Json- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Text.Json.Utf8JsonReader- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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:
java.lang.Throwable
- in case of error during cast operation
-
GetBoolean
public boolean GetBoolean() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
-
Read
public boolean Read() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, FormatException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, JsonException, ArgumentOutOfRangeException
-
TryGetByte
public boolean TryGetByte(JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Byte>> value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
-
TryGetBytesFromBase64
public boolean TryGetBytesFromBase64(JCORefOut value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, FormatException
-
TryGetDateTime
public boolean TryGetDateTime(JCORefOut<DateTime> value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException, OverflowException
-
TryGetDateTimeOffset
public boolean TryGetDateTimeOffset(JCORefOut<DateTimeOffset> value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException
-
TryGetDecimal
public boolean TryGetDecimal(JCORefOut<Decimal> value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ArrayTypeMismatchException, FormatException, IndexOutOfRangeException
-
TryGetDouble
public boolean TryGetDouble(JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Double>> value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, OverflowException, NotSupportedException
-
TryGetGuid
public boolean TryGetGuid(JCORefOut<Guid> value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException
-
TryGetInt16
public boolean TryGetInt16(JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Short>> value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
-
TryGetInt32
public boolean TryGetInt32(JCORefOut<java.util.concurrent.atomic.AtomicInteger> value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
-
TryGetInt64
public boolean TryGetInt64(JCORefOut<java.util.concurrent.atomic.AtomicLong> value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
-
TryGetSByte
public boolean TryGetSByte(JCORefOut<SByte> value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
-
TryGetSingle
public boolean TryGetSingle(JCORefOut<Single> value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, OverflowException, NotSupportedException
-
TryGetUInt16
public boolean TryGetUInt16(JCORefOut<UInt16> value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
-
TryGetUInt32
public boolean TryGetUInt32(JCORefOut<UInt32> value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
-
TryGetUInt64
public boolean TryGetUInt64(JCORefOut<UInt64> value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
-
TrySkip
public boolean TrySkip() throws java.lang.Throwable, ArgumentException, FormatException, InvalidOperationException, JsonException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException
-
ValueTextEquals
public boolean ValueTextEquals(java.lang.String text) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArrayTypeMismatchException, NotSupportedException
-
GetByte
public byte GetByte() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArrayTypeMismatchException
-
GetBytesFromBase64
public byte[] GetBytesFromBase64() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArrayTypeMismatchException
-
GetDouble
public double GetDouble() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArrayTypeMismatchException, OverflowException, NotSupportedException
-
GetInt16
public short GetInt16() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArrayTypeMismatchException
-
GetInt32
public int GetInt32() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArrayTypeMismatchException
-
GetInt64
public long GetInt64() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArrayTypeMismatchException
-
GetSByte
public SByte GetSByte() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArrayTypeMismatchException
-
GetSingle
public Single GetSingle() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArrayTypeMismatchException, OverflowException, NotSupportedException
-
GetDateTime
public DateTime GetDateTime() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, NotSupportedException, OverflowException
-
GetDateTimeOffset
public DateTimeOffset GetDateTimeOffset() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, NotSupportedException
-
GetDecimal
public Decimal GetDecimal() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArrayTypeMismatchException
-
GetGuid
public Guid GetGuid() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException
-
GetComment
public java.lang.String GetComment() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ArrayTypeMismatchException
-
GetString
public java.lang.String GetString() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, FormatException
-
GetUInt16
public UInt16 GetUInt16() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArrayTypeMismatchException
-
GetUInt32
public UInt32 GetUInt32() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArrayTypeMismatchException
-
GetUInt64
public UInt64 GetUInt64() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArrayTypeMismatchException
-
Skip
public void Skip() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, FormatException, JsonException, IndexOutOfRangeException
-
getHasValueSequence
public boolean getHasValueSequence() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setHasValueSequence
public void setHasValueSequence(boolean HasValueSequence) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsFinalBlock
public boolean getIsFinalBlock() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getValueIsEscaped
public boolean getValueIsEscaped() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setValueIsEscaped
public void setValueIsEscaped(boolean ValueIsEscaped) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCurrentDepth
public int getCurrentDepth() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getBytesConsumed
public long getBytesConsumed() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTokenStartIndex
public long getTokenStartIndex() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTokenStartIndex
public void setTokenStartIndex(long TokenStartIndex) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPosition
public SequencePosition getPosition() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
-
getCurrentState
public JsonReaderState getCurrentState() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTokenType
public JsonTokenType getTokenType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-