I have a JSON data of like this. I need to filter only name and uuid from this data. I have used JSON filters data["main_cat"]["data"]["name"] but I didn't get value to the key name here is the json data.
[
{
"main_cat": {
"properties": "http://localhost:7474/db/data/node/203/properties",
"create_relationship": "http://localhost:7474/db/data/node/203/relationships",
"labels": "http://localhost:7474/db/data/node/203/labels",
"incoming_relationships": "http://localhost:7474/db/data/node/203/relationships/in",
"outgoing_relationships": "http://localhost:7474/db/data/node/203/relationships/out",
"property": "http://localhost:7474/db/data/node/203/properties/{key}",
"paged_traverse": "http://localhost:7474/db/data/node/203/paged/traverse/{returnType}{?pageSize,leaseTime}",
"incoming_typed_relationships": "http://localhost:7474/db/data/node/203/relationships/in/{-list|&|types}",
"traverse": "http://localhost:7474/db/data/node/203/traverse/{returnType}",
"all_relationships": "http://localhost:7474/db/data/node/203/relationships/all",
"extensions": {},
"outgoing_typed_relationships": "http://localhost:7474/db/data/node/203/relationships/out/{-list|&|types}",
"metadata": {
"id": 203,
"labels": [
"Category"
]
},
"all_typed_relationships": "http://localhost:7474/db/data/node/203/relationships/all/{-list|&|types}",
"self": "http://localhost:7474/db/data/node/203",
"data": {
"timestamp": 1439216657489,
"name": "grocery & staples",
"uuid": "7be98425-3f6b-11e5-83a2-ec0ec46eeadd",
"main": true
}
}
},
{
"main_cat": {
"properties": "http://localhost:7474/db/data/node/207/properties",
"create_relationship": "http://localhost:7474/db/data/node/207/relationships",
"labels": "http://localhost:7474/db/data/node/207/labels",
"incoming_relationships": "http://localhost:7474/db/data/node/207/relationships/in",
"outgoing_relationships": "http://localhost:7474/db/data/node/207/relationships/out",
"property": "http://localhost:7474/db/data/node/207/properties/{key}",
"paged_traverse": "http://localhost:7474/db/data/node/207/paged/traverse/{returnType}{?pageSize,leaseTime}",
"incoming_typed_relationships": "http://localhost:7474/db/data/node/207/relationships/in/{-list|&|types}",
"traverse": "http://localhost:7474/db/data/node/207/traverse/{returnType}",
"all_relationships": "http://localhost:7474/db/data/node/207/relationships/all",
"extensions": {},
"outgoing_typed_relationships": "http://localhost:7474/db/data/node/207/relationships/out/{-list|&|types}",
"metadata": {
"id": 207,
"labels": [
"Category"
]
},
"all_typed_relationships": "http://localhost:7474/db/data/node/207/relationships/all/{-list|&|types}",
"self": "http://localhost:7474/db/data/node/207",
"data": {
"timestamp": 1439216657489,
"name": "health care",
"uuid": "7be98421-3f6b-11e5-83a2-ec0ec46eeadd",
"main": true
}
}
},
{
"main_cat": {
"properties": "http://localhost:7474/db/data/node/208/properties",
"create_relationship": "http://localhost:7474/db/data/node/208/relationships",
"labels": "http://localhost:7474/db/data/node/208/labels",
"incoming_relationships": "http://localhost:7474/db/data/node/208/relationships/in",
"outgoing_relationships": "http://localhost:7474/db/data/node/208/relationships/out",
"property": "http://localhost:7474/db/data/node/208/properties/{key}",
"paged_traverse": "http://localhost:7474/db/data/node/208/paged/traverse/{returnType}{?pageSize,leaseTime}",
"incoming_typed_relationships": "http://localhost:7474/db/data/node/208/relationships/in/{-list|&|types}",
"traverse": "http://localhost:7474/db/data/node/208/traverse/{returnType}",
"all_relationships": "http://localhost:7474/db/data/node/208/relationships/all",
"extensions": {},
"outgoing_typed_relationships": "http://localhost:7474/db/data/node/208/relationships/out/{-list|&|types}",
"metadata": {
"id": 208,
"labels": [
"Category"
]
},
"all_typed_relationships": "http://localhost:7474/db/data/node/208/relationships/all/{-list|&|types}",
"self": "http://localhost:7474/db/data/node/208",
"data": {
"timestamp": 1439216657489,
"name": "household",
"uuid": "7be9d243-3f6b-11e5-83a2-ec0ec46eeadd",
"main": true
}
}
},
{
"main_cat": {
"properties": "http://localhost:7474/db/data/node/190/properties",
"create_relationship": "http://localhost:7474/db/data/node/190/relationships",
"labels": "http://localhost:7474/db/data/node/190/labels",
"incoming_relationships": "http://localhost:7474/db/data/node/190/relationships/in",
"outgoing_relationships": "http://localhost:7474/db/data/node/190/relationships/out",
"property": "http://localhost:7474/db/data/node/190/properties/{key}",
"paged_traverse": "http://localhost:7474/db/data/node/190/paged/traverse/{returnType}{?pageSize,leaseTime}",
"incoming_typed_relationships": "http://localhost:7474/db/data/node/190/relationships/in/{-list|&|types}",
"traverse": "http://localhost:7474/db/data/node/190/traverse/{returnType}",
"all_relationships": "http://localhost:7474/db/data/node/190/relationships/all",
"extensions": {},
"outgoing_typed_relationships": "http://localhost:7474/db/data/node/190/relationships/out/{-list|&|types}",
"metadata": {
"id": 190,
"labels": [
"Category"
]
},
"all_typed_relationships": "http://localhost:7474/db/data/node/190/relationships/all/{-list|&|types}",
"self": "http://localhost:7474/db/data/node/190",
"data": {
"timestamp": 1439216657489,
"name": "food mart",
"uuid": "7be90ef4-3f6b-11e5-83a2-ec0ec46eeadd",
"main": true
}
}
},
{
"main_cat": {
"properties": "http://localhost:7474/db/data/node/171/properties",
"create_relationship": "http://localhost:7474/db/data/node/171/relationships",
"labels": "http://localhost:7474/db/data/node/171/labels",
"incoming_relationships": "http://localhost:7474/db/data/node/171/relationships/in",
"outgoing_relationships": "http://localhost:7474/db/data/node/171/relationships/out",
"property": "http://localhost:7474/db/data/node/171/properties/{key}",
"paged_traverse": "http://localhost:7474/db/data/node/171/paged/traverse/{returnType}{?pageSize,leaseTime}",
"incoming_typed_relationships": "http://localhost:7474/db/data/node/171/relationships/in/{-list|&|types}",
"traverse": "http://localhost:7474/db/data/node/171/traverse/{returnType}",
"all_relationships": "http://localhost:7474/db/data/node/171/relationships/all",
"extensions": {},
"outgoing_typed_relationships": "http://localhost:7474/db/data/node/171/relationships/out/{-list|&|types}",
"metadata": {
"id": 171,
"labels": [
"Category"
]
},
"all_typed_relationships": "http://localhost:7474/db/data/node/171/relationships/all/{-list|&|types}",
"self": "http://localhost:7474/db/data/node/171",
"data": {
"timestamp": 1439216657489,
"name": "beauty care & personal care",
"uuid": "7be872b3-3f6b-11e5-83a2-ec0ec46eeadd",
"main": true
}
}
},
{
"main_cat": {
"properties": "http://localhost:7474/db/data/node/179/properties",
"create_relationship": "http://localhost:7474/db/data/node/179/relationships",
"labels": "http://localhost:7474/db/data/node/179/labels",
"incoming_relationships": "http://localhost:7474/db/data/node/179/relationships/in",
"outgoing_relationships": "http://localhost:7474/db/data/node/179/relationships/out",
"property": "http://localhost:7474/db/data/node/179/properties/{key}",
"paged_traverse": "http://localhost:7474/db/data/node/179/paged/traverse/{returnType}{?pageSize,leaseTime}",
"incoming_typed_relationships": "http://localhost:7474/db/data/node/179/relationships/in/{-list|&|types}",
"traverse": "http://localhost:7474/db/data/node/179/traverse/{returnType}",
"all_relationships": "http://localhost:7474/db/data/node/179/relationships/all",
"extensions": {},
"outgoing_typed_relationships": "http://localhost:7474/db/data/node/179/relationships/out/{-list|&|types}",
"metadata": {
"id": 179,
"labels": [
"Category"
]
},
"all_typed_relationships": "http://localhost:7474/db/data/node/179/relationships/all/{-list|&|types}",
"self": "http://localhost:7474/db/data/node/179",
"data": {
"timestamp": 1439216657489,
"name": "fruits and vegetables",
"uuid": "7be93603-3f6b-11e5-83a2-ec0ec46eeadd",
"main": true
}
}
}
]