Skip to content

Sets and equivalences #54

Description

@tonyg

TJSON looks really nice! Thank you for your work on the specification thus far. I have some questions relating to TJSON's equivalence relation.

A) Is this a valid set?

{"maybe-valid-set:S<s>": ["päron", "päron"]}

Its UTF-8 encoding is as follows:

00000000: 7b22 6d61 7962 652d 7661 6c69 642d 7365  {"maybe-valid-se
00000010: 743a 533c 733e 223a 205b 2270 c3a4 726f  t:S<s>": ["p..ro
00000020: 6e22 2c20 2270 61cc 8872 6f6e 225d 7d    n", "pa..ron"]}

B) Is this a valid set?

{"maybe-valid-set:S<O>": [ {"a:A<>":[]}, {"a:A<s>":[]} ]}

C) Is this a valid set?

{"maybe-valid-set:S<O>": [ {"a:s":"m", "z:s":"n"}, {"z:s":"n", "a:s":"m"} ]}

D) Is this a valid set?

{"maybe-valid-set:S<O>": [
    {"hi:d16": "48656c6c6f2c20776f726c6421"},
    {"hi:d64": "SGVsbG8sIHdvcmxkIQ"} ]}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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