J2Sexp.rb -> A simple Ruby script to convert JSON to S-Expressions!

ChubakPDP11+TakeWithGrainOfSalt@programming.dev to Programming@programming.dev – 1 points –
JSON to S-Expressions
gist.github.com

Consider this: it's much easier to parse S-Expressions than JSON! Plus, in statically typed languages, this script could excel, because it declares the type first. Remember that you can always use my S-Expression parser in C to parse them:

https://gist.github.com/Chubek/d2f0ac9067521716d2ab31c93948e885

PS: Is it just me, or 'JSON to Sexp' sounds like 'Jason 2: Sex Pest'?

0

No comments yet. You could be first!