Syck parse error for JSON


#1

Hi,
YAML emits a parse error for

require ‘yaml’
p YAML::load(’{“test”:1}’)

because there isn’t a space after the colon.

Is there an option YAML provides that lets me load any JSON? Do I need
to download and use a JSON parser?