You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any intention to add JSON schema support to validate JSON in specific formats? (as well as XSD to XML). This library is very good and adding this feature would help eliminate the need for external libraries like Valijson, and using an already native feature would help keep the json parse implementation optimized and reduce the need to do type validations (isString, isArray and others ) and still be able to retrieve data in the correct format and keep casting safe, creating cleaner syntax and encouraging documentation of json files.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there any intention to add JSON schema support to validate JSON in specific formats? (as well as XSD to XML). This library is very good and adding this feature would help eliminate the need for external libraries like Valijson, and using an already native feature would help keep the json parse implementation optimized and reduce the need to do type validations (isString, isArray and others ) and still be able to retrieve data in the correct format and keep casting safe, creating cleaner syntax and encouraging documentation of json files.
Which follow the conventions:
https://datatracker.ietf.org/doc/html/draft-zyp-json-schema-02
Beta Was this translation helpful? Give feedback.
All reactions