Tuesday, January 31, 2017

LISON - LIstStyleObjectNotation

Pretty printed JSON / JavaScript objects already look like nested lists. Why not get, Python-like, rid of brackets and stuff, relying solely on line breaks, identation and (maybe optionally) colons for a representation that should be readable and writeable for anyone who is able to read and write at all? While JSON is good for machine to machine communication, LISON (list style object notation) might be better for machine to human communication. Note that, ideally, LISON should be just a syntactical alternative to JSON, so that a translation between both should require not more than a regular expression. Note also that LISON is not meant for huge or complex data, which is generally not adequate for direct machine to human communication, but the other way round for small and simple data where JSON includes to much buzz, e.g. for configurations or tiny data records. MSON shares some ideas, but LISON should be more natural language like.

Previous versions

  • 2017-jan-31 - create

No comments:

Post a Comment