belikeswap / quick-json

Automatically exported from code.google.com/p/quick-json
0 stars 0 forks source link

Cannot parse array of objects #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Trying to parse this:

{
    "1": {
        "intersections": [
            {
                "x": "473.2263",
                "y": "514.0565"
            },
            {
                "x": "834.2645",
                "y": "557.3444"
            },
            {
                "x": "866.4562",
                "y": "318.4066"
            },
            {
                "x": "457.0931",
                "y": "283.2906"
            }
        ],
        "extrinsic": [
            {
                "tx": "34.70736855207557",
                "ty": "-191.9537500601402",
                "tz": "115.3858857851168",
                "rx": "2.150399947130761",
                "ry": "0.2324762127454668",
                "rz": "-0.1615648226181544"
            }
        ]
    }
}

will result in com.codesnippets4all.json.exceptions.JSONParsingException: 
@Key-Heirarchy::root/0/ @Key::intersections Value is expected but found 
empty...@Position::42

Original issue reported on code.google.com by ar...@menedev.de on 10 Mar 2015 at 5:46