def to_json(self):
    return {'__type__': object_fullname(self),
            'name': self.name,
            'hid': self.hid,
            'interfaces': [iface.to_json() for iface in self.interfaces]}
Constructs a :class:`mw.Timestamp` from a MediaWiki formatted string.
dataset/ETHPy150Open ucb-sts/sts/sts/entities/hosts.py/HostAbstractClass.to_json--crossover with--dataset/ETHPy150Open mediawiki-utilities/python-mediawiki-utilities/mw/types/timestamp.py/Timestamp.from_string