cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: Dealing with Jettison array serialization issues
Date Mon, 04 Apr 2016 12:26:16 GMT
Hi

Jettison is XMLStreamWriter, no type information is available.
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

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"
>
> does this is only way to configure List<> properties serializtion?
>
>
> May be there is some undocumented  property to do this transparently,
> eg all List<> properties  serialize as array, no matter how many elements
> it has (1 or more)
>


Mime
View raw message