ajv-validator / ajv-validator/ajv
ajv.compileSerializer(jsonschema)
- Vorherrschende Sprache
- TypeScript
- Sterne
- 14.8k
- Forks
- 1k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
**What version of Ajv you are you using?**
8.11.0
**What problem do you want to solve?**
- Currently, only `ajv.compileSerializer(jtd)`
https://ajv.js.org/guide/getting-started.html#parsing-and-serializing-json
- There is `typescript-json-schema` which can generate json-schema from typescript
- Seems there is no tool can generate json-type-definition from typescript
https://www.npmjs.com/search?q=generate%20json%20type%20definition
https://www.npmjs.com/search?q=generate%20jtd
**What do you think is the correct solution to problem?**
```
ajv.compileSerializer(jsonschema)
```
**Will you be able to implement it?**
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.