Skip to content

Tag: jackson

Jackson deserialize JSON into pojo with map property

Can somebody help me, how I can deserialize the following JSON, which I can not change? I am using Jackson for serialization. Columns can have unknown number of headers and their value eg. “Header1” is used in the rows array. So far I have the following structure: The problem is that the Map is em…

Parse a json list into list of object Java

I have a response as follows I want to map this json to a POJO object and have created this class I am currently using this way to read this The size of events is 2 but each event is coming as null instead of a map. Can Someone please help me ? Answer To achieve your goal you have