I have a json file with contents like this:
{
\"aaa\":{
\"status\":\"available\",
\"classkey\":\"dotnet\"
},
\"bbb\":{
For the sake of providing an answer to the question title, here is the array structure that would serve the original purpose:
[
{
"status":"available",
"classkey":"dotnet"
},
{
"ccc":{
"com":"available",
"net":"available",
"info":"available",
"org":"available"
}
}
]
So just replace the outmost brackets with [] to get an array instead of an object. Here is a demo. See http://www.json.org/ and http://www.json.com/.