@classmethod<EOL><INDENT>def from_json(cls, fh):<DEDENT>
if isinstance(fh, str):<EOL><INDENT>return cls(json.loads(fh))<EOL><DEDENT>else:<EOL><INDENT>return cls(json.load(fh))<EOL><DEDENT>
Load json from file handle.

Args:
    fh (file): File handle to load from.

Examlple:
    >>> with open('data.json', 'r') as json:
    >>>    data = composite.load(json)