- class json2data:
- def revalue(self,content):
- hjson = json.loads(content)
- return hjson['nv']
- json2data.revalue(content3)
File "D:/临晴_工作文件夹/jsonUDF/json2data.py", line 30, in <module>
json2data.revalue(content3)
TypeError: revalue() missing 1 required positional argument: 'content'