You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "json" package http://tcllib.sourceforge.net/doc/json.html offers a ::json::json2dict method that outputs an easy to parse key/value list that can be loaded directly into a dict or an array to access individual elements:
{Country US Latitude 37.7668 precision zip State CA City {SAN FRANCISCO} Address {} Zip 94107 Longitude -122.3959} {Country US Latitude 37.371991 precision zip State CA City SUNNYVALE Address {} Zip 94085 Longitude -122.026020}
However, yajltcl's parse currently returns this, which is ponderously complex to mechanically navigate and extract just the value you want:
array_open map_open map_key precision string zip map_key Latitude number 37.7668 map_key Longitude number -122.3959 map_key Address string {} map_key City string {SAN FRANCISCO} map_key State string CA map_key Zip string 94107 map_key Country string US map_close map_open map_key precision string zip map_key Latitude number 37.371991 map_key Longitude number -122.026020 map_key Address string {} map_key City string SUNNYVALE map_key State string CA map_key Zip string 94085 map_key Country string US map_close array_close
The text was updated successfully, but these errors were encountered:
The "json" package http://tcllib.sourceforge.net/doc/json.html offers a ::json::json2dict method that outputs an easy to parse key/value list that can be loaded directly into a dict or an array to access individual elements:
However, yajltcl's parse currently returns this, which is ponderously complex to mechanically navigate and extract just the value you want:
The text was updated successfully, but these errors were encountered: