aboutsummaryrefslogtreecommitdiffstats
path: root/python/grobid2json.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/grobid2json.py')
-rwxr-xr-xpython/grobid2json.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/grobid2json.py b/python/grobid2json.py
index 977c772..0d85e5e 100755
--- a/python/grobid2json.py
+++ b/python/grobid2json.py
@@ -177,7 +177,8 @@ def main(): # pragma no cover
content = open(filename, 'r')
print(json.dumps(
teixml2json(content,
- encumbered=(not args.no_encumbered))))
+ encumbered=(not args.no_encumbered)),
+ sort_keys=True))
if __name__=='__main__': # pragma no cover
main()