No, it's not. JSON is a data object consisting of keys and values.
There are many places where you can check JSON data online, such as this site . If you are not sure, enter it yourself and check it out.
Typical libraries that parse JSON to Java objects are jackson and gson.
So how do you make it an object?
I think you should decide how you want to process the data. I think you can learn the basic format of JSON and process it accordingly. For example, stomach and You can convert the same format as below.
{
"key1": [a, b, c],
"key2": [d, e, f]
}
then you said on the library.
© 2024 OneMinuteCode. All rights reserved.