Closed tonyseek closed 10 years ago
@tonyseek If I'm not mistaken jsonlint might be the part of demjson you where looking for. With jsonlint you can easily pretty-print json from the command line with jsonlint -f
.
@brejoc It seems the jsonlint
will not be installed as site package. Could you add it into setup.py
?
@tonyseek I've pointed this out a while ago. I assume you've installed demjson via pip. Luckily some Linux distributions (like Ubuntu) ship jsonlint with the demjson package. If you are on Ubuntu just switch to the deb package. Otherwise you could fork the repo, patch the setup.py and install from your repo. Until @dmeranda responds, there is nothing more you or I can do.
@brejoc I see. Thank you.
Everybody,
It seems that interest in demjson has increased significantly over the past several weeks. I do plan on jumping back into this project shortly, hopefully this week, to address a series of feature backlogs and other enhancements.
Deron
On Wed, Apr 9, 2014 at 10:40 AM, Jiangge Zhang notifications@github.comwrote:
Closed #4 https://github.com/dmeranda/demjson/pull/4.
— Reply to this email directly or view it on GitHubhttps://github.com/dmeranda/demjson/pull/4 .
Deron Meranda http://deron.meranda.us/
It just like the implementation of
json.tool
in the Python Standard Library:The file arguments are supported too: