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 671807/week @ 2026-01-22 599128/week @ 2026-01-29 585639/week @ 2026-02-05 537198/week @ 2026-02-12 676899/week @ 2026-02-19 740052/week @ 2026-02-26 915840/week @ 2026-03-05 941286/week @ 2026-03-12 586967/week @ 2026-03-19 559925/week @ 2026-03-26 574795/week @ 2026-04-02 620731/week @ 2026-04-09 631293/week @ 2026-04-16 650293/week @ 2026-04-23 632770/week @ 2026-04-30 540933/week @ 2026-05-07

2,570,597 downloads per month
Used in 290 crates (74 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.4–1MB
~22K SLoC