Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
felixrabe committed May 1, 2014
1 parent 344c7e0 commit 4a89ddb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/json.1.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/json.1.ronn
Expand Up @@ -264,13 +264,13 @@ If your lookup isn't a number or [a JS
indentifier](https://developer.mozilla.org/en-US/docs/JavaScript/Guide/Values,_variables,_and_literals#Variables)
you can always use JavaScript array-style lookups like this:

$ echo '{"http://example.com": "my-value"} | json '["http://example.com"]'
$ echo '{"http://example.com": "my-value"}' | json '["http://example.com"]'
my-value

just like you would in JavaScript:

$ node
> var d = '{"http://example.com": "my-value"}
> var d = {"http://example.com": "my-value"}
> d["http://example.com"]
'my-value'

Expand Down

0 comments on commit 4a89ddb

Please sign in to comment.