fix: disable JSON example when built without serde (#31)

This commit is contained in:
Alex Roper 2020-05-16 02:04:46 -07:00 committed by GitHub
parent 5e4457e26e
commit 2cf8ba53a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -178,6 +178,7 @@
//! use serde_json::{json, to_string};
//!
//! let org = Org::parse("I 'm *bold*.");
//! #[cfg(feature = "ser")]
//! println!("{}", to_string(&org).unwrap());
//!
//! // {