Lines Matching refs:to_json
124 def to_json(obj): member in Object
126 return dict((k, Object.to_json(v)) for k, v in obj.__dict__.items())
128 return dict((k, Object.to_json(v)) for k, v in obj.items())
130 return [Object.to_json(v) for v in obj]
634 regtype = Object.from_json(Object.to_json(self.__register_types[type_ref]))
685 regmap = Object.from_json(Object.to_json(regmap))
713 regmap = Object.from_json(Object.to_json(regmap))
717 regtype = Object.from_json(Object.to_json(other.__register_types[type_ref]))
725 enum = Object.from_json(Object.to_json(other.__enums[enum_ref]))
751 def to_json(self): member in RegisterDatabase
754 'enums': Object.to_json(self.__enums),
755 'register_types': Object.to_json(self.__register_types),
756 'register_mappings': Object.to_json(self.__register_mappings),
765 obj = self.to_json()