None of the examples in your question is a valid JSON object; A JSON object can have only one root. You must split the file into two objects and then analyze them.
You can use http://jsonlint.com to find out if a given string is valid JSON or not.
, - JSON , , JSON.
, , , .
JSON:
{
"one": 1,
"two": 2
}
, :
{
"one":
{
"number": 1
},
"two":
{
"number": 2
}
}