I have managed to get my data back out of a system, but one of the fields is coming back as a long string of pipe-delimited data, instead of json format.
This is the api call and response handling from my python script:
info = requests.request("GET", url, headers=headers, verify=False)
data = info.json()
return(data)
This is a sanitized version of the response data. The field that I'm concerned with is the data within the "properties" field. How can I transform this to a nested json array?
[
{
"id": 00000001,
"name": "hostname1",
"type": "HostRecord",
"properties": "absoluteName=hostname1.mydomain.com|parentId=00000010|parentType=Zone|reverseRecord=false|addresses=10.10.10.11|addressIds=00000100|"
},
{
"id": 00000002,
"name": "hostname2",
"type": "HostRecord",
"properties": "absoluteName=hostname2.mydomain.com|parentId=00000020|parentType=Zone|reverseRecord=true|addresses=10.10.10.12|addressIds=00000200|"
}