<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def read_json(cls, filename):
 """ Construct an SArray from a json file or glob of json files. The json file must contain a list of dictionaries. The returned SArray type will be of dict type Parameters filename : str The filename or glob to load into an SArray. Examples -------- Construct an SArray from a local JSON file named 'data.json': Construct an SArray from all JSON files /data/data*.json """

        proxy = UnitySArrayProxy()
        proxy.load_from_json_record_files(_make_internal_url(filename))
        return cls(_proxy = proxy)