{
  "$comment": "RFC 8785 (JCS) cross-implementation vector for the ledger entry hash. canonical is the exact JCS serialisation of input, as a JSON string; sha256 is the lowercase hex SHA-256 of its UTF-8 bytes. A second implementation that reproduces sha256 from input agrees with the seller. The order member is the case that separates sorting by Unicode code point from sorting by UTF-16 code unit (RFC 8785 section 3.2.3): U+1F600 sorts before U+FB01.",
  "input": {
    "float": 1234.5,
    "negative": -0.25,
    "tenth": 0.1,
    "pi": 3.14159,
    "big": 1e+21,
    "integer": 42,
    "nested": [
      1,
      [
        2,
        [
          3,
          "três"
        ]
      ],
      {
        "b": [
          true,
          null
        ],
        "a": "ação"
      }
    ],
    "text": "Adolfo Suárez Madrid–Barajas — 東京 🇯🇵 \"quoted\" \\ back",
    "order": {
      "é": 1,
      "z": 2,
      "a": 3,
      "É": 4,
      "😀": 5,
      "ﬁ": 6,
      "B": 7
    },
    "empty": {},
    "list": []
  },
  "canonical": "{\"big\":1e+21,\"empty\":{},\"float\":1234.5,\"integer\":42,\"list\":[],\"negative\":-0.25,\"nested\":[1,[2,[3,\"três\"]],{\"a\":\"ação\",\"b\":[true,null]}],\"order\":{\"B\":7,\"a\":3,\"z\":2,\"É\":4,\"é\":1,\"😀\":5,\"ﬁ\":6},\"pi\":3.14159,\"tenth\":0.1,\"text\":\"Adolfo Suárez Madrid–Barajas — 東京 🇯🇵 \\\"quoted\\\" \\\\ back\"}",
  "sha256": "948cfa52f3b855ddf8dcf0de23271acf040ef1c65e26055a89b9e9ca7ff6d06a"
}
