[racket] Json pretty-print

From: Nick Shelley (nickmshelley at gmail.com)
Date: Tue Apr 16 13:06:10 EDT 2013

I ended up just doing a system call to Python as suggested here:
http://stackoverflow.com/questions/352098/how-to-pretty-print-json-from-the-command-line
.

When one of my coworkers (who I've been trying to convince that Racket is a
real language) reviewed my code, he laughed at that line because he's a
Python guy. I guess he wins this round...


On Sat, Apr 13, 2013 at 11:37 AM, Nick Shelley <nickmshelley at gmail.com>wrote:

> Is there a way to get formatted json output to a file? I couldn't figure
> out how to get pretty-print hooked in with write-json. I'm probably just
> missing something simple.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130416/61b86aff/attachment.html>

Posted on the users mailing list.