[New-bugs-announce] [issue12001] Extend json.dumps to handle N-triples strings

Glenn Ammons report at bugs.python.org
Wed May 4 16:18:51 CEST 2011


New submission from Glenn Ammons <glenn.ammons at gmail.com>:

The string format used in N-triples is very similar to that used in JSON (see http://www.w3.org/TR/rdf-testcases/#ntrip_strings).  It would be handy if json.dumps could (optionally) follow the N-triples format.  The differences are

1) In \u escapes, the hexadecimal digits must be capitalized.
2) N-triples uses \u escapes instead of \b and \f

----------
components: Extension Modules
messages: 135131
nosy: Glenn.Ammons
priority: normal
severity: normal
status: open
title: Extend json.dumps to handle N-triples strings
type: feature request
versions: Python 2.7, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12001>
_______________________________________


More information about the New-bugs-announce mailing list