4 releases

0.2.0 Mar 24, 2025
0.1.3 May 9, 2023
0.1.1 May 23, 2021
0.1.0 May 23, 2021

#1746 in Parser implementations

Download history 27/week @ 2024-12-25 15/week @ 2025-01-01 37/week @ 2025-01-08 72/week @ 2025-01-15 43/week @ 2025-01-22 62/week @ 2025-01-29 89/week @ 2025-02-05 172/week @ 2025-02-12 240/week @ 2025-02-19 333/week @ 2025-02-26 324/week @ 2025-03-05 166/week @ 2025-03-12 256/week @ 2025-03-19 170/week @ 2025-03-26 150/week @ 2025-04-02 105/week @ 2025-04-09

696 downloads per month
Used in 10 crates (8 directly)

LGPL-3.0+

23KB
535 lines

A Rust crate implementing Stefan Goessner’s xml2json design. This can be very useful for turning XML data into JSON for processing in JSON data stores or engines such as Elasticsearch or PostgreSQL (JSON/JSONB).

See the tests in src/lib.rs for examples of how XML gets converted to JSON structures

Dependencies

~1.6–2.2MB
~39K SLoC