1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
//! JSON ([RFC 7159](http://tools.ietf.org/html/rfc7159)) encoder
//! and decoder implementations.

#![feature(io, unicode)]

extern crate rustc_unicode;

#[macro_use]
pub mod macros;

mod buffer;
pub mod ast;
pub mod decoder;
pub mod encoder;

pub use ast::Json;
pub use buffer::Utf8Buffer;
pub use decoder::{Decoder, DecodeError, DecodeResult, Config};
pub use encoder::{Encoder, EncodeError, EncodeResult};