std.data.json formal review
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Thu Aug 13 17:26:44 PDT 2015
On 8/13/2015 3:51 AM, Sönke Ludwig wrote:
> These were, AFAICS, the only major open issues (a decision for an opt() variant
> would be nice, but fortunately that's not a fundamental decision in any way).
1. What about the issue of having the API be a composable range interface?
http://s-ludwig.github.io/std_data_json/stdx/data/json/lexer/lexJSON.html
I.e. the input range should be the FIRST argument, not the last.
2. Why are integers acceptable as lexer input? The spec specifies Unicode.
3. Why are there 4 functions that do the same thing?
http://s-ludwig.github.io/std_data_json/stdx/data/json/generator.html
After all, there already is a
http://s-ludwig.github.io/std_data_json/stdx/data/json/generator/GeneratorOptions.html
More information about the Digitalmars-d
mailing list