常見的資料格式有 Json、XML等等。幾乎所有的應用程式都會涉及到結構化資料的序列化和反序列化,或者說至少需要對應的解析器。
Json
- pikkr/pikkr: JSON parser which picks up values directly without performing tokenization in Rust
- serde-rs/json: Strongly typed JSON library for Rust
- simd-lite/simd-json: Rust port of simdjson
- maciejhirsz/json-rust: JSON implementation in Rust
- importcjj/rust-ajson: Rust port of gjson,get JSON value by dotpath syntax
XML
- tafia/quick-xml: Rust high performance xml reader and writer
- Florob/RustyXML: A XML parser written in Rust
- shepmaster/sxd-document: An XML library in Rust
- shepmaster/sxd-xpath: An XPath library in Rust
- netvl/xml-rs: An XML library in Rust
- media-io/yaserde: Yet Another Serializer/Deserializer specialized for XML
序列化
其他
HAR
Google protocol buffers
thrift
本作品採用《CC 協議》,轉載必須註明作者和本文連結