nishit1987 / jsonpath

Automatically exported from code.google.com/p/jsonpath
0 stars 0 forks source link

parse object names #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am wondering if there is a way to extract object names from a json file. I am 
working with data from archive.org and they used file names as json object 
names. i.e. 
http://www.archive.org/details/gd1980-09-06.aud.morris.106620.flac24&output=json
 files

I have been using http://jsonpath.curiousconcept.com/ to set my queries

I can get all the file objects with $.files
I can get the value of an atribute for all the file objects with 
$.files.*.format

But what I want is the file names, which are the names of the file objects.

Original issue reported on code.google.com by chr...@gmail.com on 3 Jan 2012 at 5:37