On Sunday, 1 February 2015 at 06:08:35 UTC, Vladimir Panteleev
On Thursday, 29 January 2015 at 20:04:51 UTC, Pierre Krafft
It's fun to see that there are so many different solutions to
working with JSON in D. jsvar seems to be for keeping your
in most cases. The idea of painlessjson is to convert to
native D as fast as possible. The goal is to get something
like https://github.com/FasterXML/jackson for D.
We are still looking for input on how inheritance and
constructors should work.
This is nothing new, I believe Vibe.d has a similar JSON
Here's my own:
Too slow? Try this one instead:
(Caveat: last one needs 5-ish compiler patches to work.)
You are right. My intention is not to make it seem like this is
new or revolutionary. The intention is to get some input on the
work and hopefully provide a solution that in the end will be
well documented, easy to find, and easy to integrate with. I
don't know why I didn't find the one in vibe.d but it's still
bundled with a lot else and uses it's own JSON implementation.
Painlessjon was the only library I could find on Github when
searching for JSON that I could get working. Almost every library
provided their own instead of using std.json.If std.json is bad
it should be improved to help everyone using it.
The D community need to be better at putting their work on DUB
and to separate their libraries more. I know that there are many
tools out there that is not fully utilized because it's so hard
to find them.
I will continue working on painlessjson and will take a look on
the implementations I have now found and try to take the best
from them. I have already seen some things in your code that I
can make use of.