POJO to JSON schema

2,211 views
Skip to first unread message

asker123

unread,
Mar 31, 2014, 6:45:11 PM3/31/14
to json-...@googlegroups.com
Hi, 

Does anyone know any open project, which converts POJO to JSON schema (v4 format)?

I found this project:


But it doesn't work with gradle.

Thanks.

Francis Galiegue

unread,
Mar 31, 2014, 7:26:50 PM3/31/14
to json-...@googlegroups.com
Hello,
Uh, _any_ jar available via Maven (and this one is) will work with
gradle (and that's one of gradle's numerous advantages over maven!).
Just make your build.gradle depend on it at the buildscript level.
You'll then be able to import whatever is needed and code directly.

--
Francis Galiegue, fgal...@gmail.com
JSON Schema in Java: http://json-schema-validator.herokuapp.com

adam.k...@gmail.com

unread,
Jul 3, 2017, 4:48:38 AM7/3/17
to JSON Schema
But it would mean that the actual build artifact is needed on the buildscript's classpath. I don't think it's possible, is it?

Anup Seth

unread,
Aug 30, 2017, 7:27:32 AM8/30/17
to JSON Schema
Reply all
Reply to author
Forward
0 new messages