Skip to content

JSON5 Extension to Coze #13

@zamicol

Description

@zamicol

We're finding JSON5 very useful. It's more efficient and human readable than JSON.

Coz JSON5 canonical form:

  • Minified (no white space)
  • No Comments
  • No quotes around keys
  • Ending Comma (inefficient, but more ergonomic)
  • Strings are double quoted
  • Numbers are in decimal (use B64 if needing large values, binary extension for very large)
  • Probably need more number canonicalization.

Once this is done, we can add a binary extension (as a second, independent extension) based on JSON5, not JSON.

Unsigned JSON5 and Coz items may have a core Coz identity and a JSON5 identity. The a signed JSON5 form will have its own tmb,cad, and czd identities. sig is over pay, so it must be over either the JSON or JSON5 form and is not an "identity".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions