Getting underlying struct for parseJSON
Alexey H via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Mar 1 22:07:13 PST 2017
On Tuesday, 28 February 2017 at 21:21:30 UTC, Adam D. Ruppe wrote:
> On Tuesday, 28 February 2017 at 20:27:25 UTC, Alexey H wrote:
>> [...]
>
> It doesn't actually generate one, it just returns a tagged
> union (a kind of dynamic type).
>
> [...]
Superb, Adam, thank you! I need to check out inspector.
The std.json will be used solely to generate proper structs.
I expect to do all the heavy stuff via
http://code.dlang.org/packages/jsonserialized
since it uses vibe.d's JSON implementation, my expectations are
that it would be faster.
More information about the Digitalmars-d-learn
mailing list