Created
March 3, 2015 18:08
-
-
Save Shinpeim/e1931f5bc69c8ffc4eba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jsonString = '{"a": 1, "b": 2}'; | |
json = JSON.parse(jsonString); | |
console.log(json["a"]); // 1 | |
console.log(json["b"]); // 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment