Update readme

This commit is contained in:
Sebastian Schmidt 2019-04-24 18:38:52 +02:00
parent 8432058052
commit 3fba9fea76

View File

@ -340,6 +340,7 @@ The implementation expects a [serde `string`](https://serde.rs/data-model.html)
Example parsing with [ron format](docs.rs/ron):
```rust
# #[cfg(feature = "serde_support")] {
extern crate ron;
use evalexpr::*;
@ -354,6 +355,7 @@ match ron::de::from_str::<Node>(serialized_free) {
() // Handle error
},
}
# }
```
With `serde`, expressions can be integrated into arbitrarily complex data.