How to parse JSON in D?

Imperatorn johan_forsberg_86 at hotmail.com
Tue Mar 30 07:05:01 UTC 2021


On Monday, 29 March 2021 at 18:19:35 UTC, Steven Schveighoffer 
wrote:
> On 3/29/21 1:48 PM, Imperatorn wrote:
>> On Monday, 29 March 2021 at 17:21:25 UTC, tastyminerals wrote:
>>> [...]
>> 
>> https://youtu.be/un-bZdyumog?t=27m25s
>
> FYI that package is here: 
> https://code.dlang.org/packages/jsoniopipe
>
> I really want to start using it, but priorities.
>
> It should be pretty functional, but it's a bit hard to use at 
> the moment (unless you just want serialization). I need to work 
> on the parsing API. The benefit is it allows parsing the JSON 
> without constructing some tree-like representation of the data. 
> The serializer uses this directly, which makes it fast. 
> Probably not as fast as asdf, but I could maybe get it there 
> with some tricks.
>
> -Steve

Omg asdf gets ~300 MB/s, I thought iopipe's 200 MB/s was fast 😅


More information about the Digitalmars-d-learn mailing list