Pudu programming language
Menu
API reference

Std.Json.explainDecode

1 declaration

fn

explainDecode: &Std.Json.DecodeError -> Str

The problem as text for a person: the path, then what was wanted there.

Examples

Json.explainDecode(&problem)  // "at lines[2].price: expected a number, found text"

Back to Std.JsonSearch related declarations