zio.json.ast
Members list
Type members
Classlikes
This AST of JSON is made available so that arbitrary JSON may be included as part of a business object, it is not used as an intermediate representation, unlike most other JSON libraries. It is not advised to .map
or .mapOrFail
from these decoders, since a higher performance decoder is often available.
This AST of JSON is made available so that arbitrary JSON may be included as part of a business object, it is not used as an intermediate representation, unlike most other JSON libraries. It is not advised to .map
or .mapOrFail
from these decoders, since a higher performance decoder is often available.
Beware of the potential for DOS attacks, since an attacker can provide much more data than is perhaps needed.
Also beware of converting Num
(a BigDecimal
) into any other kind of number, since many of the stdlib functions are non-total or are known DOS vectors (e.g. calling .toBigInteger
on a "1e214748364" will consume an excessive amount of heap memory). JsonValue / Json / JValue
Attributes
- Companion
- object
- Supertypes
- Known subtypes
- Self type
Attributes
- Companion
- object
- Supertypes
- Known subtypes
- Self type
-
Attributes
- Companion
- trait
- Supertypes
- Self type
-
JsonCursor.type