3 ms·
I just wrote standard conforming JSON parser: cat standard-still-bad.sh #!/bin/sh echo "ERROR: JSON parser implementation limit." 1>&2 exit 1
by nabla9 7y ago
I just wrote standard conforming JSON parser:
cat standard-still-bad.sh
#!/bin/sh
echo "ERROR: JSON parser implementation limit." 1>&2
exit 1 # terminate and indicate error
---
https://tools.ietf.org/html/rfc7159#section-9 https://tools.ietf.org/html/rfc7159#section-9
>
An implementation may set limits on the size of texts that it
accepts. An implementation may set limits on the maximum depth of
nesting. An implementation may set limits on the range and precision
of numbers. An implementation may set limits on the length and
character contents of strings.
- otterley 7y ago"Conforming" is not identical to "useful." A car that doesn't start is still a car.