… | … | ||
---|---|---|---|
240 | "jjj", "kkk", "lll", "mmm", "nnn", "ooo", "ppp", "qqq", "rrr", | 240 | "jjj", "kkk", "lll", "mmm", "nnn", "ooo", "ppp", "qqq", "rrr", |
241 | "333", | 241 | "333", |
242 | "ssss", | 242 | "ssss", |
243 | "qqq", "rrr", "ssss"] | 243 | "qqq", "rrr", "ssss"] |
244 | 244 | ||
245 | The strings "1", "4" and "rrr" are too short to get an index assigned. All others that are | 245 | The strings "1", "4" and "rrr" are too short to get an index assigned. All |
246 | not encoded with a stringref do: | 246 | others that are not encoded with a stringref do (this assumes that JSON |
247 | strings are encoded as CBOR byte strings): | ||
247 | 248 | ||
248 | d9 0100 # tag(256) | 249 | d9 0100 # tag(256) |
249 | 98 20 # array(32) | 250 | 98 20 # array(32) |
250 | 41 # bytes(1) | 251 | 41 # bytes(1) |
251 | 31 # "1" | 252 | 31 # "1" |
… | … | ||
299 | 707070 # "ppp" | 300 | 707070 # "ppp" |
300 | 43 # bytes(3) | 301 | 43 # bytes(3) |
301 | 717171 # "qqq" | 302 | 717171 # "qqq" |
302 | 43 # bytes(3) | 303 | 43 # bytes(3) |
303 | 727272 # "rrr" | 304 | 727272 # "rrr" |
305 | d8 19 # tag(25) | ||
306 | 01 # unsigned(1) | ||
304 | 44 # bytes(4) | 307 | 44 # bytes(4) |
305 | 73737373 # "ssss" | 308 | 73737373 # "ssss" |
306 | d8 19 # tag(25) | ||
307 | 01 # unsigned(1) | ||
308 | d8 19 # tag(25) | 309 | d8 19 # tag(25) |
309 | 17 # unsigned(23) | 310 | 17 # unsigned(23) |
310 | 43 # bytes(3) | 311 | 43 # bytes(3) |
311 | 727272 # "rrr" | 312 | 727272 # "rrr" |
312 | d8 19 # tag(25) | 313 | d8 19 # tag(25) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |