~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/atproto

atproto's primitives in Rust, small and free of I/O

0
0
main
48 lines · 729 B Raw History
[
  {
    "note": "trivial record",
    "json": {
      "rcrd": {
        "$type": "com.example.blah",
        "a": 123,
        "b": "blah"
      }
    }
  },
  {
    "note": "float, but integer-like",
    "json": {
      "rcrd": {
        "$type": "com.example.blah",
        "a": 123.0,
        "b": "blah"
      }
    }
  },
  {
    "note": "empty list and object",
    "json": {
      "rcrd": {
        "$type": "com.example.blah",
        "a": [],
        "b": {}
      }
    }
  },
  {
    "note": "list of nullable",
    "json": {
      "arr": [1, 2, null]
    }
  },
  {
    "note": "list of lists",
    "json": {
      "arr": [
        [1, 2, 3],
        [4, 5, 6]
      ],
      "arr2": [null, null, null]
    }
  }
]