• Post Reply Bookmark Topic Watch Topic
  • New Topic

Json string validation against json schema in Java  RSS feed

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have to validate a json string coming as input request to a method against json schema. if validation is successful then i will pass this json string to a thread which will parse the string and insert into the DB.

Please guide me, how to validate the incoming json string against the json schema in java.

Thanks
 
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A quick search for "validating json in java against schema" found http://stackoverflow.com/questions/14511468/java-android-validate-string-json-against-string-schema, which looks promising.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!