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

XML namespaces do offer some nice possibilities. But the lack of official JSON namespaces doesn't prevent you from doing something like:

    {
        "built_in": "value",
        "org.example.my_extension": "value"
    }
If you want to validate it, you might need to jump through some JSON schema hoops, of course.



It seems that would make JSON likely more verbose than XML.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: