Hacker News new | past | comments | ask | show | jobs | submit login

A horrible workaround I use is a blank redundant key and a leading // in my string to draw my eye to it. This only preserves the last comment in my python dictionary but I only use comments to work in the json file.

    {
        “”:”// comment here”,
        “Entry”:[-1,0,2],
        “”:”// next comment”,
        “Flag”:true
    }



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: