Re: Dealing with Jettison array serialization issues

2016-05-04 Thread Vjacheslav V. Borisov
2016-05-04 12:59 GMT+04:00 Sergey Beryozkin : > On 04/05/16 07:15, Vjacheslav V. Borisov wrote: > >> >> Yes, arrays (lists) serialized correctly, no extra configuration >> required. >> >> I quickly checked the source, > > > http://grepcode.com/file/repo1.maven.org/maven2/org.eclipse.persistence/ec

Re: Dealing with Jettison array serialization issues

2016-05-04 Thread Sergey Beryozkin
On 04/05/16 07:15, Vjacheslav V. Borisov wrote: 2016-05-03 12:01 GMT+04:00 Sergey Beryozkin : And also copied from AbstractJAXBProvider extraClass and contextProperties support to custom JaxbContextResolver https://github.com/ilb/common/blob/master/common-jaxrs/src/main/java/ru/ilb/common/j

Re: Dealing with Jettison array serialization issues

2016-05-03 Thread Vjacheslav V. Borisov
2016-05-03 12:01 GMT+04:00 Sergey Beryozkin > >> Actually I have adapted org.eclipse.persistence.jaxb.rs.MOXyJsonProvider >> to >> make it more cxf-friendly, e.g to accept SchemaHandler to allow JSON >> schema >> validation as Jettison does >> >> https://github.com/ilb/common/blob/master/common-j

Re: Dealing with Jettison array serialization issues

2016-05-03 Thread Vjacheslav V. Borisov
2016-05-03 12:01 GMT+04:00 Sergey Beryozkin : > > >> And also copied from AbstractJAXBProvider extraClass and contextProperties >> support to custom JaxbContextResolver >> >> https://github.com/ilb/common/blob/master/common-jaxrs/src/main/java/ru/ilb/common/jaxrs/jaxb/JaxbContextResolver.java >> >

Re: Dealing with Jettison array serialization issues

2016-05-03 Thread Sergey Beryozkin
Hi On 01/05/16 20:14, Vjacheslav V. Borisov wrote: Started playing with MOXy. I write here in case some else will need to switch JSON provider to MOXy. So, if no schema validation or extraClass support required, it is work

Re: Dealing with Jettison array serialization issues

2016-05-01 Thread Vjacheslav V. Borisov
Started playing with MOXy. I write here in case some else will need to switch JSON provider to MOXy. So, if no schema validation or extraClass support required, it is working out of box, only need to change property names. Actually

Re: Dealing with Jettison array serialization issues

2016-04-26 Thread Vjacheslav V. Borisov
vailable. >>>>> If it does accumulate more than one value for a given property it can >>>>> guess it must be a list, otherwise it does not know if it is a simple >>>>> or >>>>> complex property. >>>>> >>>>> Sergey >

Re: Dealing with Jettison array serialization issues

2016-04-26 Thread Sergey Beryozkin
list, otherwise it does not know if it is a simple or complex property. Sergey On 04/04/16 12:56, Vjacheslav V. Borisov wrote: Hi! Looking at http://cxf.apache.org/docs/jax-rs-data-bindings.html#JAX-RSDataBindings-Jettison paragraph "Dealing with Jettison array serialization issues" d

Re: Dealing with Jettison array serialization issues

2016-04-26 Thread Vjacheslav V. Borisov
4/04/16 12:56, Vjacheslav V. Borisov wrote: >>> >>> Hi! >>>> >>>> Looking at >>>> >>>> >>>> >>>> http://cxf.apache.org/docs/jax-rs-data-bindings.html#JAX-RSDataBindings-Jettison >>>> >>>&

Re: Dealing with Jettison array serialization issues

2016-04-25 Thread Sergey Beryozkin
acheslav V. Borisov wrote: Hi! Looking at http://cxf.apache.org/docs/jax-rs-data-bindings.html#JAX-RSDataBindings-Jettison paragraph "Dealing with Jettison array serialization issues" does this is only way to configure List<> properties serializtion? May be there is some un

Re: Dealing with Jettison array serialization issues

2016-04-25 Thread Vjacheslav V. Borisov
V. Borisov wrote: > >> Hi! >> >> Looking at >> >> >> http://cxf.apache.org/docs/jax-rs-data-bindings.html#JAX-RSDataBindings-Jettison >> >> paragraph "Dealing with Jettison array serialization issues" >> >> does this is o

Re: Dealing with Jettison array serialization issues

2016-04-04 Thread Sergey Beryozkin
! Looking at http://cxf.apache.org/docs/jax-rs-data-bindings.html#JAX-RSDataBindings-Jettison paragraph "Dealing with Jettison array serialization issues" does this is only way to configure List<> properties serializtion? May be there is some undocumented property to do this trans

Dealing with Jettison array serialization issues

2016-04-04 Thread Vjacheslav V. Borisov
Hi! Looking at http://cxf.apache.org/docs/jax-rs-data-bindings.html#JAX-RSDataBindings-Jettison paragraph "Dealing with Jettison array serialization issues" does this is only way to configure List<> properties serializtion? May be there is some undocumented property to do th