JSON parser should accept quoted string representations of numbers and booleans (lenient parsing)
JSON parser should accept quoted string representations of numbers and booleans (lenient parsing): a task in LegoFlow-SWE (Harbor dataset). The JSON parser in libyang currently rejects quoted numeric and boolean values — for instance "42" for a uint32 leaf or "true" for a boolean leaf — as invalid…
The task
The JSON parser in libyang currently rejects quoted numeric and boolean values — for instance `"42"` for a `uint32` leaf or `"true"` for a `boolean` leaf — as invalid according to the JSON specification. This strict behavior breaks compatibility with widely deployed systems (e.g., SONiC) that historically emit…
Part of Lego-X/LegoFlow-SWE.