On Sun, 29 May 2011, Luiz Americo Pereira Camara wrote:
On 29/5/2011 18:57, Michael Van Canneyt wrote:
On Sun, 29 May 2011, Luiz Americo Pereira Camara wrote:
I found that to handle error while parsing json through TJSONParser is
necessary to consider two types of exceptions:
EJSONScann
On 29/5/2011 18:57, Michael Van Canneyt wrote:
On Sun, 29 May 2011, Luiz Americo Pereira Camara wrote:
I found that to handle error while parsing json through TJSONParser
is necessary to consider two types of exceptions:
EJSONScanner from jsonparser
EScannerError from jsonscanner
Well, th
On Sun, 29 May 2011, Luiz Americo Pereira Camara wrote:
I found that to handle error while parsing json through TJSONParser is
necessary to consider two types of exceptions:
EJSONScanner from jsonparser
EScannerError from jsonscanner
This has the drawback of need to duplicate code like:
I found that to handle error while parsing json through TJSONParser is
necessary to consider two types of exceptions:
EJSONScanner from jsonparser
EScannerError from jsonscanner
This has the drawback of need to duplicate code like:
on E: EJSONScanner do
begin
ShowMessageFmt('Error