Json Help

2023-09-10 Thread Vino via Digitalmars-d-learn
Hi All, Request your help on the below code,I am trying to convert the below string to json and it always throws the error, if the below can be accomplished with any other json package even that is fine, I tired only the std.json package. Test Program: Works import std.json; import

Dlang Forum: How to Subscribe to the "Replies to your posts"

2023-09-10 Thread BoQsc via Digitalmars-d-learn
Some people might not know that it is possible to subscribe and get notifications about replies to your forum posts via email. 1. Open main forum page and click **"new replies"** link ![img1](https://i.imgur.com/HwhDCKO.png) --- 2. Scroll down to the bottom of the page

Re: pipeProcess output to hash string

2023-09-10 Thread Vino via Digitalmars-d-learn
On Saturday, 9 September 2023 at 16:49:30 UTC, user1234 wrote: On Saturday, 9 September 2023 at 15:44:44 UTC, Vino wrote: [...] With a slightly modified command line that works on linux here : ```d import std.process, std.stdio; auto test(in Redirect redirect=Redirect.stdout |

Re: malloc error when trying to assign the returned pointer to a struct field

2023-09-10 Thread ryuukk_ via Digitalmars-d-learn
On Friday, 8 September 2023 at 13:34:42 UTC, Richard (Rikki) Andrew Cattermole wrote: In case you didn't know, all you need to get unittests working in -betterC is: ```d foreach (module_; allModules) { foreach (unitTest;