I have this JSON:
{
"totalSize":1,
"done":true,
"records":[
{
"attributes":{
"type":"Order",
"url":"/services/data/v54.0/sobjects/Order/8012D0000016xq5QAA"
},
"Id":"8012D0000016xq5QAA",
"OrderNumber":"00000100",
"CreatedDate":"2022-02-21T13:13:01.000+0000",
"OrderItems":{
"totalSize":1,
"done":true,
"records":[
{
"attributes":{
"type":"OrderItem",
"url":"/services/data/v54.0/sobjects/OrderItem/8022D000001GgV5QAK"
},
"Id":"8022D000001GgV5QAK",
"Product2":{
"attributes":{
"type":"Product2",
"url":"/services/data/v54.0/sobjects/Product2/01t2D0000050iKrQAI"
},
"StockKeepingUnit":"25"
},
"Quantity":5.0,
"TotalPrice":1250.0
}
]
}
}
]
}
I cannot figure out how to address, the OrderItems, or the "records" under that element. The above is the result of a dim load test$=myjson$.