parameters: (self, path)
docstring: Return a deserialized JSON object, or None
docstring_summary: Return a deserialized JSON object, or None
docstring_tokens: Return a deserialized JSON object or None
function: def _metadata_get(self, path):
          """
          Return a deserialized JSON object, or None
          """
          fd = self.fs.open(path, "r")
          # TODO iterate instead of assuming file < 4MB
          read_bytes = self.fs.read(fd, 0, 4096 * 1024)
          self.fs.close(fd)
          if read_bytes:
              return json.loads(read_bytes.decode())
          else:
              return None
function_tokens: def _metadata_get ( self , path ) : fd = self . fs . open ( path , "r" ) # TODO iterate instead of assuming file < 4MB read_bytes = self . fs . read ( fd , 0 , 4096 * 1024 ) self . fs . close ( fd ) if read_bytes : return json . loads ( read_bytes . decode ( ) ) else : return None