It makes sense to allow using different loader function, for example orjson.loads.
Since such function can require positional arguments instead of keywords ones like json.loads uses, decided to deprecate json_params argument in favor of a pair loader_args and loader_kwargs.
Idea originally proposed in https://github.com/Nykakin/chompjs/issues/61
It makes sense to allow using different loader function, for example
orjson.loads
.Since such function can require positional arguments instead of keywords ones like
json.loads
uses, decided to deprecatejson_params
argument in favor of a pairloader_args
andloader_kwargs
.