TextJsonX extension
Adds JSON decoding helpers to String.
Methods
-
decode()
→ dynamic
-
Available on String,
provided by the TextJsonX extension
Decodes this string as JSON, throwing if parsing fails.
-
tryDecode()
→ Object?
-
Available on String,
provided by the TextJsonX extension
Tries to decode JSON; on failure, returns the original text.