February 21, 2022 Re: Is there a way to not escape slashes when parsing JSON? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ali Çehreli | On 2/21/22 14:58, Ali Çehreli wrote: > std.json is a very good module. Correction: std.json is NOT a very good module. Ali |
February 22, 2022 Re: Is there a way to not escape slashes when parsing JSON? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ali Çehreli | On Monday, 21 February 2022 at 22:58:17 UTC, Ali Çehreli wrote:
> On 2/21/22 09:34, bachmeier wrote:
>
> > I may have to look for an alternative
> > JSON library for D. std.json is not the most fun independent
> of this issue.
>
> std.json is a very good module. At work, we had to write additional code to cover its defficiencies.
>
> Looking forward to versioning in Phobos so that we can get to better implementations of many old modules...
>
> Ali
Yes. std.random is another. I gave up out on the current one. Luckily I already had external libraries for that before I started using D.
|
February 22, 2022 Re: Is there a way to not escape slashes when parsing JSON? | ||||
---|---|---|---|---|
| ||||
Posted in reply to bachmeier | On Tuesday, 22 February 2022 at 00:36:38 UTC, bachmeier wrote:
> [snip]
>
> Yes. std.random is another. I gave up out on the current one. Luckily I already had external libraries for that before I started using D.
Have you tried mir.random?
|
February 22, 2022 Re: Is there a way to not escape slashes when parsing JSON? | ||||
---|---|---|---|---|
| ||||
Posted in reply to jmh530 | On Tuesday, 22 February 2022 at 00:44:58 UTC, jmh530 wrote:
> On Tuesday, 22 February 2022 at 00:36:38 UTC, bachmeier wrote:
>> [snip]
>>
>> Yes. std.random is another. I gave up out on the current one. Luckily I already had external libraries for that before I started using D.
>
> Have you tried mir.random?
I haven't done much with it. I already have what I need, so not much motivation to use anything else. The main advantage of std.random is that it eliminates an external dependency.
|
Copyright © 1999-2021 by the D Language Foundation