[fpc-devel] fpjson/jsonparser: EJSONScanner vs EScannerError
Luiz Americo Pereira Camara
luizmed at oi.com.br
Mon May 30 02:04:16 CEST 2011
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, there are 2 different kinds of errors: scanner errors, and
>> parser errors.
> They should have 2 different classes.
EJSONScanner seems misleading since hints to a scanner error
>> Should a bug report be made?
> You can submit a request so they are merged (or one made a descendent
> of the other).
More information about the fpc-devel