std.data.json formal review

via Digitalmars-d digitalmars-d at puremagic.com
Wed Aug 12 01:24:21 PDT 2015


On Tuesday, 11 August 2015 at 21:06:24 UTC, Sönke Ludwig wrote:
> However, my goal when implementing this has never been to make 
> the DOM representation as efficient as possible. The simple 
> reason is that a DOM representation is inherently inefficient 
> when compared to operating on the structure using either the 
> pull parser or using a deserializer that directly converts into 
> a static D type. IMO these should be advertised instead of 
> trying to milk a dead cow (in terms of performance).

Maybe it is better to just focus on having a top-of-the-line 
parser and then let competing DOM implementations build on top of 
it.

I'm personally only interested in structured JSON, I think most 
webapps use structured JSON informally.




More information about the Digitalmars-d mailing list