I Have tried many ways and googled but everywhere i getting same way out, use json gem to parse a JSON file.

```
JSON.parse(string)

```

And couple of links are also using same
[stackoverflow Link](https://stackoverflow.com/questions/5410682/parsing-a-json-string-in-ruby)

I wanted to achieve it by pure Ruby code without using any gem or rails help.