#deserialize-json #serde #parser

tiny-serde

A tiny library to serialize and deserialize to/from JSON

3 releases

0.1.2 Jun 11, 2024
0.1.1 Jun 5, 2024
0.1.0 Jun 5, 2024

#1730 in Encoding

Download history 196/week @ 2024-05-31 171/week @ 2024-06-07 21/week @ 2024-06-14 1/week @ 2024-06-21 1/week @ 2024-06-28 2/week @ 2024-07-05 4/week @ 2024-07-26

101 downloads per month

MIT license

24KB
645 lines

A tiny serde_json alternative with no dependencies.

This library is still WIP

Features

  • Serialization from Value to JSON String
    • Basic implementation
    • Patch issue with " and \ in Value
  • Deserialization from JSON String to Value
  • Types
    • String
    • Array
    • Object
    • Number
    • Boolean
    • Null
  • Traits
    • Serialize
    • Deserialize
  • Derive macros
    • Serialize
      • Basic implementation
    • Deserialize

Dependencies

~280–730KB
~17K SLoC