Skip to content

Commit

Permalink
docs: parsing does not support non-standard JTD keywords (#2072)
Browse files Browse the repository at this point in the history
* add Non-standard JTD keywords warn

* correction

* correction

Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
  • Loading branch information
avanelli and epoberezkin committed Nov 13, 2022
1 parent 7516a09 commit b3cbbc1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/json-type-definition.md
Expand Up @@ -416,6 +416,10 @@ Any user-defined keywords that can be used in JSON Schema schemas can also be us
It is strongly recommended to only use it to simplify migration from JSON Schema to JTD and not to use non-standard keywords in the new schemas, as these keywords are not supported by any other tools.
:::

::: warning Parsing does NOT support non-standard JTD keywords
compileParser method does not support non-standard JTD keywords, you will have to use JSON.parse and then validates.
:::

## Validation errors

TODO

0 comments on commit b3cbbc1

Please sign in to comment.