std_data_json icon indicating copy to clipboard operation
std_data_json copied to clipboard

<= doesn't work

Open CrazyPython opened this issue 6 years ago • 1 comments
trafficstars

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.

unittest {
    JSONValue data = toJSONValue(`{"key": 5}`);
    assert(data["key"] >= 4 && data["key"] <= 6)
}

CrazyPython avatar Aug 27 '19 21:08 CrazyPython

Alias this could also be used.

CrazyPython avatar Aug 27 '19 21:08 CrazyPython