Fastest JSON parser in the world is a D project

Adam D. Ruppe via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Oct 28 06:57:16 PDT 2015


On Wednesday, 28 October 2015 at 11:32:22 UTC, wobbles wrote:
> I just had a thought, I could check if dataName is in 
> [__traits(allMembers ... )]. That would at least ensure I'm 
> referencing something that exists.

If the body doesn't compile, the opDispatch acts as if it doesn't 
exist anyway. (this makes debugging it a bit of a pain but also 
means you don't strictly need constraints on bodies that don't 
work)


More information about the Digitalmars-d-announce mailing list