pboettch / json-schema-validator

JSON schema validator for JSON for Modern C++
Other
466 stars 134 forks source link

Yaml validation #263

Closed LecrisUT closed 1 year ago

LecrisUT commented 1 year ago

Since json schema apply to yaml files as well, it would be nice to have this one be compatible with a yaml parser as well.

pboettch commented 1 year ago

If there is a parser which loads yaml to nlohmann::json, let's go.

The question is actually, should we add a yaml-parser to nlohmann::json (as it also support several binary structures leading to JSON).

LecrisUT commented 1 year ago

Nlohmann last said that he will not be able to maintain it, but maybe if we can propose a modular system with proper ci and code-owner for reviewing, he might change his mind on this. I am all up for having a more centralized api interface for these

pboettch commented 1 year ago

I think you have to see that with Nils. I'm closing this, as YAML would work here directly if nlohmann::json supports it.