Lines Matching refs:to_json
122 def to_json(obj): member in Object
124 return dict((k, Object.to_json(v)) for k, v in obj.__dict__.items())
126 return dict((k, Object.to_json(v)) for k, v in obj.items())
128 return [Object.to_json(v) for v in obj]
632 regtype = Object.from_json(Object.to_json(self.__register_types[type_ref]))
683 regmap = Object.from_json(Object.to_json(regmap))
711 regmap = Object.from_json(Object.to_json(regmap))
715 regtype = Object.from_json(Object.to_json(other.__register_types[type_ref]))
723 enum = Object.from_json(Object.to_json(other.__enums[enum_ref]))
749 def to_json(self): member in RegisterDatabase
752 'enums': Object.to_json(self.__enums),
753 'register_types': Object.to_json(self.__register_types),
754 'register_mappings': Object.to_json(self.__register_mappings),
763 obj = self.to_json()