15 releases (8 breaking)

Uses new Rust 2024

0.9.0 Dec 9, 2025
0.8.0 Jul 15, 2025
0.7.0 Jul 9, 2024
0.6.0 Sep 18, 2023
0.2.1 Nov 10, 2021

#66 in Encoding

Download history 258976/week @ 2025-09-23 240956/week @ 2025-09-30 286243/week @ 2025-10-07 279554/week @ 2025-10-14 352747/week @ 2025-10-21 400050/week @ 2025-10-28 428044/week @ 2025-11-04 399543/week @ 2025-11-11 399864/week @ 2025-11-18 223339/week @ 2025-11-25 409484/week @ 2025-12-02 588913/week @ 2025-12-09 474699/week @ 2025-12-16 138930/week @ 2025-12-23 182198/week @ 2025-12-30 485458/week @ 2026-01-06

1,377,524 downloads per month
Used in 211 crates (59 directly)

MIT license

8KB
116 lines

pbjson is a set of crates to automatically generate serde::Serialize and serde::Deserialize implementations for prost generated structs that are compliant with the protobuf JSON mapping

See pbjson-build for usage instructions


Pbjson

Pbjson is a set of crates to automatically generate serde Serialize and Deserialize implementations for auto-generated prost types.

See pbjson-build for usage instructions

Dependencies

~0.5–1.2MB
~25K SLoC