Rapid Rapture!
summary
A tiny Scala library demonstrates a dynamic Scala JSON API that lets code navigate JSON with JavaScript-like syntax, then call .as[T] to extract into case classes checked at compile time. Import-based “modes” change results to Try or Future; a timing mode returns (value,millis). JSON literals are compile-time checked JSON literals with interpolation. Backends include Jackson and faster parsers such as jawn or argonaut, there is no internal AST, and a JSON buffer can be serialized to disk in one line. The demo runs as ~25 terse one-liners.
AI-written summary · about
chapters (15)
- 0:00Rapture and JSON intro
- 1:30JSON parsing basics
- 2:32Dynamic JSON in Scala
- 3:59Static JSON extraction
- 5:49Handling JSON errors
- 6:11Extract JSON to case classes
- 7:56Advanced JSON patterns
- 8:16Error handling with Try/Future
- 9:20JSON parsing performance
- 10:23JSON literals in Rapture
- 11:26Pattern matching JSON
- 12:10JSON parser backends
- 13:14Mutable JSONBuffer
- 13:55Saving JSON to disk
- 14:32Q&A
related talks
32mATLAS: A VOYAGE OF DISCOVERY ON THE HIGH SEAS OF SCRIPTING
36mPrompting Safely: Building Secure LLM Prompts with a Scala DSL
41mFriday the 13th: Attacking JSON
55mHigh performance Privacy By Design using Matryoshka & Spark
36mFast, secure, safe: the web that can still be
49mLightning talks
01h 03mThe Power of the Paradigm
35mMessage in a Bottle
