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.
Attributes
- buf
the ASCII byte array
- len
the length of the byte array
- Returns:
a JSON string
Extracts a BigInt
value from a JSON cursor.
Extracts a BigInt
value from a JSON cursor.
Attributes
- c
the JSON cursor
- 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
.
Attributes
- x
the BigInt to encode
- Returns:
a JSON number representing the BigInt
Extracts a String
value from a JSON cursor.
Extracts a String
value from a JSON cursor.
Attributes
- c
the JSON cursor
- 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