~/talk

Rapidly Mapping JSON/XML API Schemas in Ruby

Talkat RubyConf 2014 · 2014-11-17..11-19· [ruby, web-platform]
github:acuppy
slides:none on file

Builds a Ruby adapter that turns a JSON schema into pure-Ruby instances that can consume modify and re-export JSON and XML, demonstrated against the Google Civic API and available on GitHub. Uses an HTTP client (http party/http), a connection + client routing table with method_missing for dynamic endpoints and versioning, coerces hashes into objects via openstruct and dynamic classes with const_set, and recommends the representable gem. Shows catch‑and‑release fixes like Hash#fetch to surface schema changes quickly.

AI-written summary · about

  1. 0:00Start
  2. 4:46Connection: Relationship Manager
  3. 12:05Client: Routing and Collection
  4. 22:08Representation: Entity mapping
~/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.