metamodel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kasper Sørensen <>
Subject Re: Checking compliance to a schema with metamodel
Date Sat, 04 Jun 2016 16:10:04 GMT
I'm not sure MetaModel is the right tool for the job in your case,
Juan. I might be wrong and not seeing the light here.
In cases where I've needed to do JSON validation, I've used (and can
thus far recommend using) Jackson and Hibernate Validator.

2016-06-02 12:37 GMT-07:00 Juan Rodríguez Hortalá
> Hi,
> I have to check that some JSON objects have a certain shape. I was
> considering specifying the schema as a Table object, and then using
> JsonDataContext for implementing this check. The idea is defining a method
> that given a Table and a String for a JSON object, returns a boolean saying
> whether the JSON is complaint with the schema or not. Can that be easily
> implemented with metamodel?
> Thanks in advance.
> Greetings,
> Juan

View raw message