~/talk

JSON Explained

Talkat Chicago Roboto 2019 · 2019-04-25..04-26· [security]
links:none on file
slides:none on file

Covers exact gotchas: floating‑point limits (no exact 0.1, negative zero, NaN, infinities), why numeric IDs break through JSON, and a practical hash collision DoS that ties up a CPU for minutes with 1–2MB of crafted input; shows fixes landed in OpenJDK 8 and Android Oreo. Compares concrete tools and tradeoffs: Jackson’s byte‑quads canonicalizer for string reuse, Moshi’s trie field lookup, and Kotlin serialization’s lack of streaming; recommends streaming, generated adapters, and protobuf as a performance path.

AI-written summary · about

  1. 0:00Intro
  2. 2:14What is JSON
  3. 3:45Numbers
  4. 5:50Computer Numbers
  5. 7:14Floating Points
  6. 7:57Infinity
  7. 8:31Negative
  8. 10:10Floatingpoint numbers
  9. 12:24Distance between values
  10. 15:53Doubles
  11. 19:19JSON API
  12. 21:32Arrays
  13. 27:54Names
  14. 29:12Dates
  15. 30:07JSON Libraries
  16. 31:43JSON Decoders
  17. 38:29JSON Adapters
  18. 46:39JSON APIs
  19. 46:58JSON Adapter
  20. 50:59Testing
  21. 51:38Performance
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.