Hello,
As the author of the JSON Schema specs (except for hyper schema) I
feel obliged to chime in ;)
The goal of JSON Schema is not, and has never been, to "describe
On Fri, May 23, 2014 at 9:41 PM, Tatu Saloranta <ta...@fasterxml.com> wrote:
> I am not a big of JSON Schema myself -- I find it too focused on validation
> of JSON as format, and being under-powered for describing mapping to/from
> progland Objects -- but others make use of it. And this usage is increasing.
>
mapping to/from progland Objects"; it is to describe JSON texts,
whatever those texts are, and said texts may, or may not, be used as
objects. Or in Java, or by Jackson, for that matter.
Projects do exist which do a fine job of:
* generating JSON Schemas from Java classes: JJSchema;
* generating Java classes from JSON Schemas: jsonschema2pojo (draft v3
only though).
And there is of course JSON Schema validation which my project does.
It so happens that all of them use Jackson! (jsonschema2pojo still
uses 1.9.x though)
None of these projects have needed any modification to Jackson
whatsoever to work and be used ;)
My 2 cents,
--
Francis Galiegue, fgal...@gmail.com, https://github.com/fge
JSON Schema in Java: http://json-schema-validator.herokuapp.com
Parsers in pure Java: https://github.com/parboiled1/grappa (redde
Caesaris: https://github.com/sirthias)
--
You received this message because you are subscribed to the Google Groups "jackson-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jackson-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello,
As the author of the JSON Schema specs (except for hyper schema) I
feel obliged to chime in ;)
On Fri, May 23, 2014 at 9:41 PM, Tatu Saloranta <ta...@fasterxml.com> wrote:
> I am not a big of JSON Schema myself -- I find it too focused on validation
> of JSON as format, and being under-powered for describing mapping to/from
> progland Objects -- but others make use of it. And this usage is increasing.
>
The goal of JSON Schema is not, and has never been, to "describe
mapping to/from progland Objects"; it is to describe JSON texts,
whatever those texts are, and said texts may, or may not, be used as
objects. Or in Java, or by Jackson, for that matter.
Projects do exist which do a fine job of:
* generating JSON Schemas from Java classes: JJSchema;
* generating Java classes from JSON Schemas: jsonschema2pojo (draft v3
only though).
And there is of course JSON Schema validation which my project does.
It so happens that all of them use Jackson! (jsonschema2pojo still
uses 1.9.x though)
None of these projects have needed any modification to Jackson
whatsoever to work and be used ;)