Error Json(path="object.json") : AttributeError: 'str' object has no attribute 'read'
Traceback (most recent call last):
File "testNameTupled.py", line 6, in
@limsan the confusion, I think, is that the path parameter (in the definition of namedtupled.json) is misnamed. In practice, it is actually meant to be file-like argument of the same type expected by json.load() rather than the name of file as per your (reasonable) expectation.
Looking back at this again, sorry I'm still thinking about the best way forward