Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "person":{"first_name":"John", "last_name":"Smith"},
- "pets":[{"species":"dog", "name":"Adama"}, {"species":"cat", "name":"Benton"} ],
- "toys":[{"car":"corvet", "color":"black"}, {"action_figure":"hancock", "height":"1ft"} ]
- }
- @Post
- public Representation readForm(Representation representation) {
- try {
- Person aPerson = …
- Set<Pet> petSet = …
- Set<Toy> toySet = ...
- ….
Add Comment
Please, Sign In to add comment