DATAREST-199 - Tweaked unmarshalling of JSON payloads.

The BeanWrapper used to set and get values of entities now gets a autowired ConversionService applied. Simplified collection and map creation by using Spring API. Added test case to update an entity with an embedded collection.
This commit is contained in:
Oliver Gierke
2013-12-04 22:13:25 +01:00
parent 0667e0bfb2
commit 44420d862c
6 changed files with 62 additions and 27 deletions

View File

@@ -0,0 +1,7 @@
{ "creator" : {
"href" : "http://localhost:8080/persons/1"
},
"lineItems" : [
{ "name" : "Java Chip" },
{ "name" : "Chocolate Mocca " } ]
}