web stats
Mirth Community - View Single Post - json schema parsing for jsonrpc messages
View Single Post
  #3  
Old 05-22-2017, 04:12 AM
sBham sBham is offline
Mirth Newb
 
Join Date: Feb 2017
Posts: 6
sBham is on a distinguished road
Red face

yes exactly!

The json/message structure in this case is provided as a json schema format document. in this case I was given ~60 schemas. So I am comparing using filters and checking for segment existance/type... VS using a cutom jar that would validate a message against a schema.

I found a few java libraries that validates a json document against a json schema. example at:
https://github.com/java-json-tools/j...hema-validator

But wanted to know if I am going about it the correct way (is it more efficient to use filters vs jar), or if there are other better recommended ways??

Thanks
sBham
Reply With Quote