You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- # _*_ coding:utf-8 _*_
- import json
-
-
- class JsonUtil:
-
- def __init__(self):
- pass
-
- # noinspection PyMethodMayBeStatic
- def load_json(self):
- """
- read json file
- """
- with open(self, encoding="utf-8") as f:
- json_object = json.loads(f.read())
- return json_object
|