On 14/09/2020 17:36, Christopher Barker wrote:
There seems to be a fair bit of support for this idea.

Will it need a PEP ?

-CHB

If I've understood correctly (far from certain) the existing json.dumps and json.loads functions are permissive (allow some constructions that are not part of the JSON spec) but the proposed new functions will be strict.
To minimise possible confusion, I think that the documentation (both the docstrings and the online docs) should be *very clear* about this.
E.g.
loads:
    ...
    loads accepts blah-blah-blah.  This is different from loadf which only accepts strict JSON.

loadf:
    ...
    loadf only accepts strict JSON.  This is different from loads which blah-blah-blah

Etc.
Rob Cliffe