Annotation used to indicate that a property should be serialized "unwrapped"; that is, if it would be serialized as JSON Object, its properties are instead included as properties of its containing Object.
Unfortunately, this seems to work only with bean types, and does not work with Map<String, Object>. Given that bean types are generally completely interchangeable with Maps, it would be very nice if this worked correctly.
According to the documentation,
Unfortunately, this seems to work only with bean types, and does not work with
Map<String, Object>
. Given that bean types are generally completely interchangeable with Maps, it would be very nice if this worked correctly.