fix: disable JSON example when built without serde (#31)
This commit is contained in:
parent
5e4457e26e
commit
2cf8ba53a1
|
@ -178,6 +178,7 @@
|
||||||
//! use serde_json::{json, to_string};
|
//! use serde_json::{json, to_string};
|
||||||
//!
|
//!
|
||||||
//! let org = Org::parse("I 'm *bold*.");
|
//! let org = Org::parse("I 'm *bold*.");
|
||||||
|
//! #[cfg(feature = "ser")]
|
||||||
//! println!("{}", to_string(&org).unwrap());
|
//! println!("{}", to_string(&org).unwrap());
|
||||||
//!
|
//!
|
||||||
//! // {
|
//! // {
|
||||||
|
|
Loading…
Reference in a new issue