On Fri, Jan 25, 2013 at 2:03 PM, <
danilo...@gmail.com> wrote:
> Hi everyone.
>
> I've been studying some media types for a while, seeking that one who would
> fit my hypermedia needs.
> It happens that i could not get fully satisfied with all *+json types that i
> really studied.
> When i was going to deep invest in the html, i had some illumination and
> decided to use json-schema, the one who proved to be more extensible, though
> not yet mature.
>
> Since then, I was building a Java JSON-Schema generator for automating my
> rest services. It is still very very incipient, but it can do things like:
> - Generate a (almost) full JSON-Schema from a Java Type by using an
> additional annotation.
> - Supports inheritance.
> - Generate Hyper-Schema from Java JAX-RS like Resource classes.
> by just typing JsonSchema.from(Type.class) or HyperSchema.from(Type.class)
>
> For correct Java-JSON marshalling, use Jackson.
>
> I'm still preparing some tutorials, but those eager for novelties can
> explore the project at
https://github.com/daniloreinert/JJSchema.
>
Brilliant!
Have you posted this at
d...@jackson.codehaus.org?
This in combination with my validator which also uses Jackson gives a
nearly complete chain... Only forms are missing!
--
Francis Galiegue,
fgal...@gmail.com
Try out your JSON Schemas:
http://json-schema-validator.herokuapp.com