On Friday, 22 August 2014 at 13:00:19 UTC, Sönke Ludwig wrote:
Am 22.08.2014 14:47, schrieb matovitch:
Ok. I think I remember there was a stdx.d.lexer's Json parser
provided
as sample.
I see, so you just have to write your own number/string parsing
routines:
https://github.com/Hackerpilot/lexer-demo/blob/master/jsonlexer.d
It's kind of "low level" indeed...I don't know what kind of back
magic are doing all these template mixins but the code looks
quite clean.
Confusing :
// Therefore, this always returns false.
bool isSeparating(size_t offset) pure nothrow @safe
{
return true;
}