You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by venkatesham nalla <v_...@hotmail.com> on 2015/04/23 16:30:21 UTC

JSON Payload validation example

Hi,

Is there anyway to turn JSON Payload validation similar to XML?

Thanks,
Venkat

 		 	   		  

Re: JSON Payload validation example

Posted by Sergey Beryozkin <sb...@gmail.com>.
If it is JAX-RS: you can configure CXF JSONProvider to do the 
validation. You may also be able to do a validation with Jackson and 
JSON Schema but I'm not sure if it is possible - please ask at the 
Jackson list...

Cheers, Sergey

On 23/04/15 15:30, venkatesham nalla wrote:
> Hi,
>
> Is there anyway to turn JSON Payload validation similar to XML?
>
> Thanks,
> Venkat
>
>   		 	   		
>