show-struct icon indicating copy to clipboard operation
show-struct copied to clipboard

Shows possible jq paths in a JSON file

Results 6 show-struct issues
Sort by recently updated
recently updated
newest added

Hello, Firstly thanks for the script - I find it very useful hence the request :-) Given an input of: `{"ansible_python":{"version":{"major":2,"micro":5,"minor":7,"releaselevel":"final","serial":0},"version_info":[2,7,5,"final",0]}}` Is it possible to work around the type comparison...

fixes https://github.com/ilyash/show-struct/issues/7

``` [ernie@eahimac3 git]$ echo '{ "field.name": "field.value" }' | python ~/bin/show_struct.py .field.name -- field.value [ernie@eahimac3 git]$ echo '{ "field.name": "field.value" }' | jq .field.name null [ernie@eahimac3 git]$ ```

Without this a TypeError is raised if the dict_key() containts both None and strings

The issue outlined in https://github.com/ilyash/show-struct/issues/11 is still present.