From fcda51bfe222b197e02c95dc2d0ce29f39b6301a Mon Sep 17 00:00:00 2001 From: Karl Lehenbauer Date: Mon, 7 May 2018 16:24:46 +0000 Subject: [PATCH] fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 94e56a3..848dfa5 100755 --- a/README.md +++ b/README.md @@ -178,7 +178,7 @@ innerType = Feature, geom = type Point coordinates {-106.6091944 35.0401944} innerType = Feature, geom = type Point coordinates {-118.3586667 34.206667} ``` -A slight variation of json2dict is ```yajl::json2dict_ex```. This version turns JSON into a fully traversable Tcl dictionary by virtue of that it expands JSON arrays into key-value pairs, as might be done with a map, where the keys are synthetized sequential integers starting from zero. +A slight variation of json2dict is ```yajl::json2dict_ex```. This version turns JSON into a fully traversable Tcl dictionary by virtue of that it expands JSON arrays into key-value pairs, as might be done with a map, where the keys are synthesized sequential integers starting from zero. After having parsed a list of channels returned from the Slack API, for instance, to fetch the ID of the third member of the fourth channel you might say ```dict get $dict channels 3 members 2```. See the tests file json2dict_ex.test included in the distro for a nice big JSON structure that hopefully will make clear what's going on.