Chris Mendez in For Developers, Ruby

Ruby: Converting XML to JSON

Today I was asked to convert an XML file full of e-mail addresses into JSON. The first file is titled email_builder.rb. The second script is titled email_parser.rb.

Source Code