This was working until today...
sRespJSON contains:
{"status":"ok","web_payment_code":2163,"list_id":" 2163.29123971","url":"http:some-url","time":1559314077}
being unpacked into a struct:
Code:
Struct tWebPayResult //what teh website returns - similar for webpays, giftregs too
String status
String web_payment_code
String list_id
String url
String Time
End_Struct
by the following process:
Code:
tWebPayResult tWebResult
Get Create (Refclass(cJSONObject)) to hoResponse
Get Parsestring of hoResponse sRespJSON to bOK
If (bOK) Begin
Get JSONtodatatype of hoResponse to tWebResult
End
Move tWebResult.list_id to slistref
leaves a blank struct, bOK is true