On Feb 11, 2015, at 5:08 PM, Esteban A. Maringolo <emaringolo@gmail.com> wrote:
Syntax extensions (pluggable?): I know we have many alternatives, which I used and are more than acceptable , but I'd like to write JSON as close as possible to its original syntax.
+1 except I would not say that "I want to write JSON as close as possibleâ. Itâs either zero friction or itâs already good enough. In Amber, for example, you already can write a JSON object âas close as possibleâ to the original syntax and is o-kay but is not really great because youâre still being taxed when compared to JavaScript and that taxing might never payoff, thatâs why I say that we are either currently okay or we move towards zero-JSON-friction. Amber: #{ âkey1â-> value1. âkey2 -> value2 } <â kind of okay, survivable JavaScript: {key1: value1, key2: value2} <â awesome, no friction to party with the rest of the world, it rocks!