serde-json-core
serde-json-core copied to clipboard
`serde-json` for `no_std` programs
Not sure if this project still maintained, this PR solves some things I encountered while using happy to remove/add changes as required - ~Fix no_std build~ - Fix embedded list...
Hello Guys, This is a great crates ! But as a rust newcomer I was a bit lost face to: ``` Supports deserialization of: [...] str (This is a zero...
I'm extending `serde-json-core` for an embedded project to support pretty-formatted serialized strings, tuple variants, and struct variants. It's passing all of the existing tests, except for `ser::tests::test_serialize_bytes`: ```shell # (Again,...
When deserializing certain types, the library may hit `unreachable!()` statements, which results in a panic. This appears to be because serde-json-core does not support deserializing complex enums (e.g. `pub struct...
Currently I have following errors: ``` error[E0277]: the trait bound `alloc::String: serde::Serialize` is not satisfied --> C:\Users\Alex\Documents\Repo\pwasm-abi\derive\src\json.rs:14:10 | 14 | #[derive(Serialize, Debug)] | ^^^^^^^^^ the trait `serde::Serialize` is not implemented...
Firstly, thanks for providing this crate :) Using the crate in the context of CoAP (the Constrained Application Protocol, [RFC 7252](https://datatracker.ietf.org/doc/html/rfc7252)), it would be nice if you could serialize structs...
Any interest? I added support in an fork fo serde-json-core for a personal project and would be happy to submit a PR for review.
Hello, I think this feature is quite useful for many users. It's feature-gated, so shall be harmless for others.
unable to know how to use package to do serialize and deserialize. provide example code or mention in docs. how to use it.
De-escaping JSON strings will always produce a shorter (or equal length) string, so it's safe to de-escape strings in place, thus allowing types to borrow plaintext (not escaped) strings from...