psJsonParseError - cJsonHttpTransfer
Contains JSON parsing error information when response cannot be parsed
Type: Property
Access: Read/Write
Data Type: String
Parameters: None
Syntax
Property String psJsonParseError
| Access Type | Syntax |
|---|---|
| Read Access: | Get psJsonParseError to StringVariable |
| Write Access: | Set psJsonParseError to StringVariable/Value |
Description
If an HTTP response cannot be parsed into a JSON object, the parsing error text is stored in psJsonParseError.
When this happens, peJsonTransferStatus is set to jtsNotJson.
The function TransferErrorDescription will also return this text when an HTTP response cannot be parsed as JSON.