JSON Pretty Printer

Just learning from a book and not getting anything working was starting to bother me, so I decided to throw together a quick JSON pretty printer. It’s just a tiny little C# project, thrown together in about 2-3 hours this evening. It works correctly on all the input I’ve thrown at it, but there’s no tests to really say anything useful about the behaviour. There’s also no documentation. This was really just a “prove I can do it” project, but I’m dead set on doing everything relating to this book publicly, so there you have it.

It can be found, along with the rest of my code, on my github. I’m pretty proud that I can now throw together a (fairly trivial) parser for a (small, well-defined) language (that has its grammar explicitly published online) in an evening. I’m learning!!

Advertisement
This entry was posted in computer science, software. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s