Hi all,
I’m looking for a JSON parser in Ruby.
If you have any information/document, please give me a hint.
Many thanks,
Yi
Hi all,
I’m looking for a JSON parser in Ruby.
If you have any information/document, please give me a hint.
Many thanks,
Yi
Have found one,
null=nil; jsonobj = eval(json.gsub
(/([“‘])\s*:\s*([’“0-9tfn[{])/){”#{$1}=>#{$2}”})
so elegant!
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs