Skip to content

Upgrading serde_json 0.8 to 0.9

Breaking0.8.6 → 0.9.10Breaking1New15Changed2Fixed1Other2

BreakingUpgrade verdict

1 breaking change.

  • The main JSON value type has a new shape, so code that matched on or constructed it may need updating.
1 item needs code or config changes

Adds serde_derive ^0.9.

Drops clippy.

Installs 13 packages in all (was 27).

Also installs quote, serde_codegen_internals, syn, synom, unicode-xid.

No longer installs arrayref, arrayvec, base64, blake2b_simd, byteorder, cfg-if, constant_time_eq, crossbeam-utils, dirs, getrandom, libc, redox_syscall, redox_users, rust-argon2, term and 4 more.

Moves dtoa 0.2.2 → 0.4.8, itoa 0.1.1 → 0.3.4, linked-hash-map 0.3.0 → 0.4.2, serde 0.8.23 → 0.9.15. Your build may pick other versions.

Breaking1
Redesigns the serde_json::Value enum to better represent loosely-typed JSON workflows.
serde_json::ValueValue::NullValue::BoolValue::NumberValue::StringValue::ArrayValue::Object