From: Love U Ruby Date: 2013-07-02T17:10:28+09:00 Subject: Re: Error with JSON#parse Josh Cheek wrote in post #1114121: > require 'json' > require 'yaml' > > ruby = {:value => [ {"a" => nil, "b" => nil, "c" => 0}]} > > JSON.dump ruby # => "{\"value\":[{\"a\":null,\"b\":null,\"c\":0}]}" > YAML.dump ruby # => "---\n:value:\n- a: \n b: \n c: 0\n" Actually I wanted the output `{:value => [ {"a" => nil, "b" => nil, "c" => 0}]}`from "{:value => [ {"a" => nil, "b" => nil, "c" => 0}]}" Thanks -- Posted via http://www.ruby-forum.com/.