std_data_json
std_data_json copied to clipboard
Phobos candidate JSON implementation.
`stdx.data.json.parser.readObject` issues a callback for each key in an object. The type for the callback is `scope void delegate(string key) @safe del)`. For my use case it would be sufficient...
Currently, JSONLexerRange eagerly skips whitespace for performance reasons, but everything else is evaluated lazily. The problem with eager WS skipping is that it makes the lexer unusable in a request/response...
Backport of the taggedalgebraic hacks I've done in [serialized](https://github.com/funkwerk/serialized/commit/85f125bab26ff46685e3c66d097b1b68467adf82) to sidestep DMD bug https://issues.dlang.org/show_bug.cgi?id=21235 . This is an update of https://github.com/dlang-community/std_data_json/pull/51 , this time with a backported version of `std_data_json`...
OS: Linux Mint 19.1 Cinnamon Compiler: DMD 2.084 Command line: `dub run --compiler=dmd -a=x86_64 -b=debug` Test code: ```d import std.stdio; import stdx.data.json; void main() { // JSONValue value = toJSONValue(`{"name":...
On Thursday, 5 February 2015 at 17:26:34 UTC, Sönke Ludwig wrote: > Am 05.02.2015 um 10:07 schrieb Jakob Ovrum: > > > Added to the review queue as a work...
I guessing this is probably a dmd issue, and filed it as [19825](https://issues.dlang.org/show_bug.cgi?id=19825). But I'm posting here too, just in case std_data_json is part of the problem, or anyone here...
This is embarrassing. Dlang should have a highly performant, yet extremely easy to use (no type casting) JSON library. It shouldn't be that hard, just opXXX + templates. ```dlang unittest...
Large Json files (1+ GB) use up 15+ GB of memory and take 4+ mins to parse to get to that point before it crashes for me with out of...
I write writing a small utility and was surprised to not find any support for serializing from a struct to a JSON object. Much to my surprise, I couldn't find...
here's one: vibe.data.json.parseJsonString accepts trailing commas, but stdx.data.json.toJSONValue does not ``` { "a":"b", } ```