How to parse json string data having symbols as key instead of string in Ruby?
Here's the json string example json = "{:status=>"ok", :hitcount=>"1", :request_date=>Wed, 10 Oct 2019 00:00:00 +0000}" I have tried below mentioned snippet but this didn't work and gives error JSON::ParserError (765: unexpected token at require 'json' JSON.parse(json)