v7.2.1
Add tests and fix parsers compiled with ajv.compileParser
from JTD schemas:
- fail on invalid JSON:
- trailing comma in arrays/objects
- invalid JSON numbers
- control characters in strings
- fix parsing of u-escaped characters
- do not fail on duplicate object keys (consistent with JSON.parse)
Compiled parsers are now:
- consistent with JSON.parse in case of invalid JSON
- only parse data that is valid for JTD schema
It is a breaking change for compiled parsers compared with 7.2.0 that was released earlier on the same day.