Forum: Ruby Syck parse error for JSON

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Gavri F. (Guest)
on 2006-03-25 14:14
(Received via mailing list)
  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?
This topic is locked and can not be replied to.