Function jsonDecoder
A helper function for constructing a [JsonDecoder] with inferred template arguments.
auto jsonDecoder(IRangeT)
(
IRangeT iRange
);
Example
string data = "null";
auto decoder = jsonDecoder(data);
with (decoder) {
assertNotThrown(readNull());
}