skip to Main Content

Java Json enum deserialization

JSON enum deserialization is not working. Interface: @JsonTypeInfo( use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property="rlType" ) @JsonSubTypes({ @JsonSubTypes.Type(value = B.class) }) public interface IA { } B class @JsonTypeInfo(use = JsonTypeInfo.Id.NONE) public enum B implements IA { X, Y, Z…

VIEW QUESTION

How to convert a nested JSON consisting of lists, ints, dicts, strs and None to pandas dataframe?

I have the following JSON structure, { 'total_numbers':1, 'data':[ { 'col3':'2', 'col4':[ { 'col5':'P', 'col6':'H' } ], 'col7':'2023-06-19T09:29:28.786Z', 'col9':{ 'col10':'TEST', 'col11':'[email protected]', 'col12':'True', 'col13':'999', 'col14':'9999' }, 'col15':'2023-07-10T04:46:43.003Z', 'col16':False, 'col17':[ { 'col18':'S', 'col19':'H' } ], 'col20':True, 'col21':{ 'col22':'sss', 'col23':'0.0.0.0', 'col24':'lll' }, 'col25':0,…

VIEW QUESTION
Back To Top
Search