I need to serialize/deserialze some xml data like this:
1
2
...
a
b
c
...
3
4
5
...
Where MyPropB has to have at least 1 element! So even for deserialization
it's clear where all the MyPropA items belong to.
This simple approach does (of course) n
Here is sample pojo:
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Pair extends BaseObject implements Map.Entry {
private T key;
private V value;
@Override
public V setValue(V value) {
this.value = value;
return value;
}
}
it i
On Wed, Sep 5, 2018 at 7:21 AM Alexey Tatarikov wrote:
>
> Here is sample pojo:
>
> @Getter
> @Setter
> @Builder
> @NoArgsConstructor
> @AllArgsConstructor
> public class Pair extends BaseObject implements Map.Entry {
>
> private T key;
> private V value;
>
> @Override
> public V s
On Wed, Sep 5, 2018 at 1:18 AM wrote:
>
> I need to serialize/deserialze some xml data like this:
>
>
> 1
> 2
> ...
> a
> b
> c
> ...
> 3
> 4
> 5
> ...
>
>
>
> Where MyPropB has to have at least 1 element! So even for deserialization
> it's clear wher
I am writing a custom `StdDeserializer` that will take a json
with the root node being an array and import it as an array of RuleSet
objects. I wrote most of the code for a single case (for importing just the
first ruleset from the json array, and I had no issues. However now that
I've changed