I am receiving a string object in my spring controller class as follows
{'Gyr-x':10.11,'Gyr-y':9.66,'Gyr-z':10.93,'Temparature':30,'Pressure':101,'Humidity':15,'deviceId':1},{'Gyr-x':10.11,'Gyr-y':9.66,'Gyr-z':10.93,'Temparature':30,'Pressure':101,'Humidity':15,'deviceId':1}
Which is technically 2 arrays.
I want to convert this string object into JSON and do iteration on this two arrays, to fetch keys of each array. i do not wish to map this to any POJO classes as Jackson and Gson do.