object-mapper icon indicating copy to clipboard operation
object-mapper copied to clipboard

Nested objects

Open danieljausovec opened this issue 5 years ago • 1 comments

Hi.

Can anyone post example how to use mapping with nested objects? Thanks.

danieljausovec avatar Aug 29 '19 06:08 danieljausovec

I am facing the same issue for complex types of values present in the JSON. I searched through the code but I found only the list as another type that can be mapped.

But, in the case of JSON properties, it can be dict, so if we could directly map dicts. then it would be great.

@direbearform has added support for basic nested objects, but as the example is not present anywhere, I can't make use of this library at its fullest.

kothekarvikram5 avatar Jan 05 '21 04:01 kothekarvikram5