liu
liu
code: ``` func TestFloat64WithStringOption(t *testing.T) { var f, jf FloatString var data = []byte("{\"Q\":\"00010\"}") err := sonic.Unmarshal(data, &f) jerr := json.Unmarshal(data, &jf) spew.Dump(err, jerr) spew.Dump(f, jf) } type FloatString struct...
code: ``` package issue_test import ( `testing` . `github.com/bytedance/sonic` `encoding/json` `github.com/stretchr/testify/require` ) type StringOptQuote struct { F0 string "json:\"S,string\"" } func TestUnmarshal_StringOption(t *testing.T) { var jv, sv StringOptQuote data :=...
Add more Marshal/Unmarshal examples for different configuration, at https://github.com/bytedance/sonic/blob/main/api.go#L26
We plan to release sonic-rs 0.4 before ~~April~~ Jun. ### Break Change: - [x] deprecated `get_many`, replace with `get_by_schema` - [x] Optimize `pointer!` in #83 - [ ] Refactor `sonic_rs::Value`,...
Sonic-rs 0.1.x, 0.2.x has a dependency `packed_simd`. If there is a compile error, ***please update `sonic-rs` to 0.3.x at least** and 0.3.x has supported stable Rust version.
Even though we added sanitizer in the unit and fuzzing tests, we should make the Rust Miri test happy.