Sorry for my bad english and low vocabulary. How to filter-out all fields with "Properties.Searchable" = "true"
? The fields can be a child field of another.
Here is an example(removed most of unnecessary data):
{
"Configuration": {
"Fields": {
"Id": {
"Properties": {
"DataType": "string",
"Searchable": "true"
}
},
"PrsonalInfo": {
"BirthDate": {
"Properties": {
"DataType": "date",
"Searchable": "false"
}
},
"Name": {
"GivenName": {
"Properties": {
"DataType": "string",
"Searchable": "true"
}
},
"FamilyName": {
"Properties": {
"DataType": "string",
"Searchable": "true"
}
}
}
}
}
}
}
I need to query the "Configuration.Fields"
and only return the path of those that have "Properties.Searchable" = "true"
. And the result should be like or close to this:
Id
PersonalInfo.Name.GivenName
PersonalInfo.Name.FamilyName
Thanks!