I have the following json and want to retrieve the value of “hostnames” key under “freeform.tags”.”ADB$MIGRATION1″, which i am unable to for now :
[
{
"freeform-tags": {
"ADB$MIGRATION1": "{"hostnames":["Test-company1","Test-company2"],"port":1521,}",
"databasetype": "QA"
}
]
Any help or guidance would be highly appreciated
I tried the following :
[]."freeform-tags"."ADB$MIGRATION1"|[0].'"hostnames"'
[]."freeform-tags"."ADB$MIGRATION1"|[0]."hostnames"
Tried using search : search(""hostnames"", []."freeform-tags"."ADB$MIGRATION1")
I think am doing something pretty basic wrong but don’t know where.
New contributor
Ritesh Shukla is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.