Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I receive a String containing a JSON from my tRestClient response. How I can extract a parameter from that JSON?
Thanks.
I don't know how to take the 'id' parameter from that json using tExtractJsonField .
Here's an example of that json:
{
"id": "cus_test",
"object": "customer",
"account_balance": 0,
"created": 1493201430,
"currency": null,
"default_source": null,
"delinquent": false,
"description": "Living",
"discount": null,
"email": "test@test.com",
"livemode": false,
"metadata": {},
"shipping": null,
"sources": {
"object": "list",
"data": [],
"has_more": false,
"total_count": 0,
"url": "/v1/customers/cus_test/sources"
},
"subscriptions": {
"object": "list",
"data": [],
"has_more": false,
"total_count": 0,
"url": "/v1/customers/cus_test/subscriptions"
}
}