godwinjk / Json_Parser

MIT License
25 stars 7 forks source link

Tree View Issue with Empty Arrays #6

Closed johnson512n28 closed 1 year ago

johnson512n28 commented 2 years ago

Two elements with empty arrays as values cause issues in subsequent parsing of the Tree View.

MacOS - Monterey 12.3.1 JetBrains Rider 2021.3.4

{ 
    "name": "Hello",
    "emptyArray": [],
    "otherObject": {
        "name": "The next property causes problems",
        "emptyArray2": []
    },
    "messedUp": [
        {
            "status": "there should be something here in the tree view"
        },
        {
            "status": "but there is not"
        }
    ]
}
image
godwinjk commented 1 year ago

This issue is fixed in the latest build v1.7.