Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

S-exp to JSON and back

Name: Anonymous 2012-11-10 7:02

How do you transform/encode a generic s-exp to JSON and back?

inb4 "very carefully."

Name: Anonymous 2012-11-10 10:17

>>10
hash = { "a": 1, "b": 2 }
  ((a . 1) (b . 2))
array = ['a', 'b']
  (a b)

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List