I have a 256 size buffer which receives data and "stores" them as a byte array. The data contained are JSON Objects, but I can't figure out how to manipulate them. The worst thing I have to deal with is that the JSON objects are stacked. 1st JSON Object contains more than one JSON Objects and every JSON Object contains another one. First byte array contains the first object and the last byte array contains the closing bracket of that first object.
How am I supposed to get the data I want and manipulate them further on? I want to save every object in a SQL database after separating the JSON Objects. Would it be better to implement a list or an array to save the byte arrays or is there a better solution?