← Back to context

Comment by snarfy

14 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?

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

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'.