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=8.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.StringassemblyFullNameFully assembly qualified name: System.Text.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static java.lang.StringassemblyShortNameAssembly name: System.Text.Jsonstatic java.lang.StringclassNameQualified class name: System.Text.Json.Utf8JsonReaderstatic JCTypeclassTypeThe 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 Utf8JsonReadercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoUtf8JsonReader, a cast assert is made to check if types are compatible.booleanGetBoolean()byteGetByte()longgetBytesConsumed()byte[]GetBytesFromBase64()java.lang.StringGetComment()intgetCurrentDepth()JsonReaderStategetCurrentState()DateTimeGetDateTime()DateTimeOffsetGetDateTimeOffset()DecimalGetDecimal()doubleGetDouble()GuidGetGuid()booleangetHasValueSequence()shortGetInt16()intGetInt32()longGetInt64()booleangetIsFinalBlock()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeSequencePositiongetPosition()SByteGetSByte()SingleGetSingle()java.lang.StringGetString()longgetTokenStartIndex()JsonTokenTypegetTokenType()UInt16GetUInt16()UInt32GetUInt32()UInt64GetUInt64()booleangetValueIsEscaped()booleanRead()voidsetHasValueSequence(boolean HasValueSequence)voidsetJCOInstance(JCObject instance)voidsetTokenStartIndex(long TokenStartIndex)voidsetValueIsEscaped(boolean ValueIsEscaped)voidSkip()booleanTryGetByte(JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Byte>> value)booleanTryGetBytesFromBase64(JCORefOut value)booleanTryGetDateTime(JCORefOut<DateTime> value)booleanTryGetDateTimeOffset(JCORefOut<DateTimeOffset> value)booleanTryGetDecimal(JCORefOut<Decimal> value)booleanTryGetDouble(JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Double>> value)booleanTryGetGuid(JCORefOut<Guid> value)booleanTryGetInt16(JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Short>> value)booleanTryGetInt32(JCORefOut<java.util.concurrent.atomic.AtomicInteger> value)booleanTryGetInt64(JCORefOut<java.util.concurrent.atomic.AtomicLong> value)booleanTryGetSByte(JCORefOut<SByte> value)booleanTryGetSingle(JCORefOut<Single> value)booleanTryGetUInt16(JCORefOut<UInt16> value)booleanTryGetUInt32(JCORefOut<UInt32> value)booleanTryGetUInt64(JCORefOut<UInt64> value)booleanTrySkip()booleanValueTextEquals(java.lang.String text)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Text.Json, Version=8.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:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classValueType- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classValueType- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classValueType- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classValueType- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classValueType
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classValueType- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static Utf8JsonReader cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoUtf8JsonReader, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
Utf8JsonReaderinstance- 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, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
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, IndexOutOfRangeException, FormatException, NotSupportedException
-
TryGetDateTime
public boolean TryGetDateTime(JCORefOut<DateTime> value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IndexOutOfRangeException, FormatException, OverflowException
-
TryGetDateTimeOffset
public boolean TryGetDateTimeOffset(JCORefOut<DateTimeOffset> value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, 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, 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, IndexOutOfRangeException, FormatException, NotSupportedException
-
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, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, 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.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeException
-
getCurrentState
public JsonReaderState getCurrentState() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTokenType
public JsonTokenType getTokenType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-