(self, o, _one_shot=False)
| 332 | return u''.join(chunks) |
| 333 | |
| 334 | def iterencode(self, o, _one_shot=False): |
| 335 | chunks = super(JSONEncoderForHTML, self).iterencode(o, _one_shot) |
| 336 | for chunk in chunks: |
| 337 | chunk = chunk.replace('&', '\\u0026') |
| 338 | chunk = chunk.replace('<', '\\u003c') |
| 339 | chunk = chunk.replace('>', '\\u003e') |
| 340 | yield chunk |
| 341 | |
| 342 | |
| 343 | def _make_iterencode(markers, _default, _encoder, _indent, _floatstr, |