Dears,

I just upgrade to 2.9.0.pr3 for our project because we need the feature of 
merge a json string to update an existing object or hashmap.

I tested readerForUpdating works now by default deep merge the data in json 
string to an existing nested hashmap now, which is what we need. 

But we don't want deep merge the lists, let's say here is a json 
{"array":[{"stringInput":"aString"}]}, and the existing HashMap already 
have the list, we think in most scenario, replacing list/array makes sense 
than merging them.  

I guess the current implementation is to merge list as well by default as 
part of the deep merge. 

So how to replace list instead of deep merge? 

Many thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to