rust-embedded-community / serde-json-core

`serde-json` for `no_std` programs
Apache License 2.0
161 stars 59 forks source link

Align with the api provided by serde_json #8

Closed r-marques closed 5 years ago

r-marques commented 5 years ago

This merge request makes it easier to replace serde_json with serde_json_core when building with no_std.

Example:

#[cfg(not(feature = "std"))]
use serde_json_core as serde_json;

let deserialized = serde_json::from_str("...").unwrap();
japaric commented 5 years ago

Thanks!

bors r+

bors[bot] commented 5 years ago

Build succeeded