According to the issue [#333], tomland has problem with parsing the numbers with leading zero. That problem is some sort of connected with #147 because parser should consume data and throw an error without recovering.
That feature is now implemented thanks to the observing function. So if number has leading zero, an error will be thrown, otherwise normal more parser will be called. It took me some time to figure it out, so any advice how to make this approach better would be appreciated.
Dario
According to the issue [#333], tomland has problem with parsing the numbers with leading zero. That problem is some sort of connected with #147 because parser should consume data and throw an error without recovering. That feature is now implemented thanks to the
observing
function. So if number has leading zero, an error will be thrown, otherwise normalmore
parser will be called. It took me some time to figure it out, so any advice how to make this approach better would be appreciated. Dario