PDL_GetItemReceiptJSON
Returns a JSON formatted string for the values contained in a PDL_ItemReceipt struct. This string remains valid until you free the PDL_ItemReceipt.
Syntax
const char *PDL_GetItemReceiptJSON(PDL_ItemReceipt *receipt);
Parameters
|
Parameter |
Required | Type |
Description |
|
receipt |
Yes | Pointer |
Pointer to PDL_ItemReceipt struct. |
Returns
Pointer to JSON-formatted string.