+ *
* Flattening requires all property names to not interfere with JSON paths. Using dots or brackets in map keys or as * property names is not supported using flattening. The resulting hash cannot be mapped back into an Object. - * Example + * + *
- *
+ *
* class Person {
- * String firstname;
- * String lastname;
- * Address address;
+ * String firstname;
+ * String lastname;
+ * Address address;
+ * Date date;
+ * LocalDateTime localDateTime;
* }
*
* class Address {
- * String city;
- * String country;
+ * String city;
+ * String country;
* }
- *
*
*
- * Normal
+ * | Hash field | - *Value - * | + * | Value | *
|---|---|---|---|
| firstname | - *Jon - * | + * | Jon | *
| lastname | - *Snow - * | + * | Snow | *
| address | - *{ "city" : "Castle Black", "country" : "The North" } - * | + * | { "city" : "Castle Black", "country" : "The North" } | + *
| date | + *1561543964015 | + *||
| localDateTime | + *2018-01-02T12:13:14 | *
| Hash field | - *Value - * | + * | Value | *
|---|---|---|---|
| firstname | - *Jon - * | + * | Jon | *
| lastname | - *Snow - * | + * | Snow | *
| address.city | - *Castle Black - * | + * | Castle Black | *
| address.country | - *The North - * | + * | The North | + *
| date | + *1561543964015 | + *||
| localDateTime | + *2018-01-02T12:13:14 | *