equal
deleted
inserted
replaced
91 __regid__ = 'jsonexport' |
91 __regid__ = 'jsonexport' |
92 __select__ = any_rset() # means rset might be empty or have any shape |
92 __select__ = any_rset() # means rset might be empty or have any shape |
93 title = _('json-export-view') |
93 title = _('json-export-view') |
94 |
94 |
95 def call(self): |
95 def call(self): |
96 # XXX mimic w3c recommandations to serialize SPARQL results in json ? |
96 # XXX mimic w3c recommandations to serialize SPARQL results in json? |
97 # http://www.w3.org/TR/rdf-sparql-json-res/ |
97 # http://www.w3.org/TR/rdf-sparql-json-res/ |
98 self.wdata(self.cw_rset.rows) |
98 self.wdata(self.cw_rset.rows) |
99 |
99 |
100 |
100 |
101 class JsonEntityView(JsonMixIn, EntityView): |
101 class JsonEntityView(JsonMixIn, EntityView): |