Attributes
- Companion
- class
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
JsoniterScalaCodec.type
Members list
Value members
Concrete methods
Converts an ASCII byte array to a JSON string.
Converts an ASCII byte array to a JSON string.
Value parameters
- buf
-
the ASCII byte array
- len
-
the length of the byte array
Attributes
- Returns
-
a JSON string
Extracts a BigInt
value from a JSON cursor.
Extracts a BigInt
value from a JSON cursor.
Value parameters
- c
-
the JSON cursor
Attributes
- Returns
-
the
BigInt
value, or null if the cursor does not point to a number with an integer value
Encodes a BigInt
as a JSON number.
Encodes a BigInt
as a JSON number.
Uses a JsonLong
if the value fits in a Long, otherwise uses a JsonBigDecimal
.
Value parameters
- x
-
the BigInt to encode
Attributes
- Returns
-
a JSON number representing the BigInt
Extracts a String
value from a JSON cursor.
Extracts a String
value from a JSON cursor.
Value parameters
- c
-
the JSON cursor
Attributes
- Returns
-
the
String
value, or null if the cursor does not point to a string
Concrete fields
Default number parser that detects integers vs floating-point values and chooses an appropriate JSON number representation.
Default number parser that detects integers vs floating-point values and chooses an appropriate JSON number representation.
Attributes
- Returns
-
a JSON number value