jsonfeed

Crates.iojsonfeed
lib.rsjsonfeed
version0.2.0
sourcesrc
created_at2017-05-18 15:53:14.23056
updated_at2017-05-22 04:33:09.419507
descriptionParser for the JSONFeed (http://jsonfeed.org) specification
homepagehttps://github.com/pwoolcoc/jsonfeed
repository
max_upload_size
id15050
size56,239
Paul Woolcock (pwoolcoc)

documentation

https://docs.rs/jsonfeed

README

= JSON Feed Parser

[link=https://github.com/pwoolcoc/jsonfeed] image::https://img.shields.io/crates/v/jsonfeed.svg[JSON Feed crate version]

This is a http://jsonfeed.org[JSON Feed] parser in Rust. Just a thin layer on top of serde, but it provides serialization & deserialization, along with a Builder API for constructing feeds.

Note that this is alpha, I still need to add a lot of tests and a couple more features.

== Example


extern crate jsonfeed; extern crate reqwest;

fn main() { let resp = reqwest::get("https://example.com/feed.json").unwrap(); let feed = jsonfeed::from_reader(resp).unwrap(); println!("Feed title is: {}", feed.title); }

TODO:

  • Tests. Lots and lots of tests
  • Implement ability to add, serialize, and deserialize custom attributes from the json feed spec
Commit count: 0

cargo fmt