#deserialize-json #json-parser #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

#1979 in Encoding

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

~235–680KB
~16K SLoC