Remix.run Logo
snarfy 13 hours ago

> I wish it was a superset of JSON (so, a valid JSON would also be valid MAML), but it doesn't seem to be the case.

What valid JSON would be invalid MAML?

sedatk 5 hours ago | parent | next [-]

For example, Unicode escaping seems incompatible. JSON’s “\u1234” format isn’t in the spec. There is a different syntax: “\u{123456}”

qrios 8 hours ago | parent | prev [-]

You are right. And the initial question is also meaningless as there is no difference between these two:

  {"project": "MAML"}

  {project: "MAML"}
A parser is not able to decide if '"project"' equals 'project'.
whizzter 7 hours ago | parent [-]

and the latter is not valid JSON