I need to read “nat_ip” from the below array:
[
[
{
“assigned_nat_ip” = “”
“nat_ip” = “35.246.120.159”
“network_tier” = “PREMIUM”
“public_ptr_domain_name” = “”
},
],
]
How can I read the value from the above?
I need to read “nat_ip” from the below array:
[
[
{
“assigned_nat_ip” = “”
“nat_ip” = “35.246.120.159”
“network_tier” = “PREMIUM”
“public_ptr_domain_name” = “”
},
],
]
How can I read the value from the above?
Assuming the array is in the variable foo
, foo[0][0]["nat_ip"]
.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.