InvalidCanonicalJsonException class abstract
Exception thrown when encountering invalid input during decoding of canonical JSON.
If accepting canonical JSON from an untrusted source, it's a good idea to use the JSON decoder provided in this package to ensure that data was encoded as canonical JSON and not just JSON. Catching this exception is important for gracefully handling non-canonical JSON from untrusted sources.
- Implemented types
Constructors
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited