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 <nickmshel...@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. >
____________________ Racket Users list: http://lists.racket-lang.org/users