Pertwee is an open-source Java library for parsing feeds in the JSON Feed format.
To use it just pass it a feed URL like this:
URL url = new URL("http://example.com/feed/json"); Feed feed = DefaultFeed.fromUrl(url);
And then process the feed at will. Here’s the JavaDoc.
It’s Apache licensed, so you can do pretty much what you like with it, but let me know if you’re using it for something interesting.
Why the Name?
Why did I call it Pertwee, you’re probably wondering? I was thinking about possible names around “JSON,”, but “JSON” suddenly made me think of “Jon.” The most famous person to use that spelling was of course Jon Pertwee, and there it was.
Besides, isn’t it nice to have a Java library that doesn’t begin with the letter “J” for a change?