| Start |
|---|
| Using JSON with Ruby JSON (JavaScript Object Notation) is a lightweight data interchange format. Many web applications use it to send and receive data. In Ruby you can simply work with JSON. At first you have to What happens here, is that the parser generates a Ruby Hash (opens new window) out of the JSON. The other way around, generating JSON out of a Ruby hash is as simple as parsing. The method of choice is |
| Using Symbols You can use JSON together with Ruby symbols. With the option symbolize_names for the parser, the keys in the resulting hash will be symbols instead of strings. |
Read Article
https://develop.horje.com/learn/1434/reference