def json_data(self, instance, default=None):
value = self.get(instance)<EOL>out = []<EOL>for rel in value:<EOL><INDENT>if rel.isBroken():<EOL><INDENT>logger.warn("<STR_LIT>".format(repr(rel)))<EOL>continue<EOL><DEDENT>obj = rel.to_object<EOL>out.append(api.get_url_info(obj))<EOL><DEDENT>return out<EOL>
Get a JSON compatible value