Open-source projects categorized as Deserialization | Edit details

Top 23 Deserialization Open-Source Projects

  • GitHub repo fastjson

    A fast JSON parser/generator for Java.

    Project mention: Ask HN: Differences in Programming Style by Nationalities | news.ycombinator.com | 2021-04-19

    I first noticed a difference in national styles when I contributed a patch to fastjson, a JSON parser in Java from Alibaba.

    Take a look around the repo; it'll look odd to a western programmer. There is a lot of duplication. And the tests don't have names, they are numbered.


    This was several years ago. I did end up choosing it since it really was the fastest.

  • GitHub repo jsoniter

    A high-performance 100% compatible drop-in replacement of "encoding/json" (by json-iterator)

    Project mention: OjG now has a tokenizer that is almost 10 times faster than json.Decode | reddit.com/r/golang | 2021-04-18

    Need to compare with https://github.com/json-iterator/go too!

  • GitHub repo marshmallow

    A lightweight library for converting complex objects to and from simple Python datatypes.

    Project mention: What's the fastest way to parse JSON to output? | reddit.com/r/flask | 2021-02-21

    I was looking at https://github.com/marshmallow-code/marshmallow That's a nice library to use to parsing?

  • GitHub repo ysoserial

    A proof-of-concept tool for generating payloads that exploit unsafe Java object deserialization.

    Project mention: Why do I think Haskell is a good choice in regards to Software Security? | dev.to | 2021-05-31

    A similar issue has occurred with Java (and other languages, see https://frohoff.github.io/appseccali-marshalling-pickles/). Java provided a suberbly user-friendly way of serializing any object to disk and recovering it back in its original form. The only unfortunate problem was that there was no way to say which object you are expecting! This allows attackers to send you objects that, upon deserialization in your program, become nasties that wreak havoc and steal data.

  • GitHub repo HandyJSON

    A handy swift json-object serialization/deserialization library (by alibaba)

  • GitHub repo Schematics

    Python Data Structures for Humans™.

  • GitHub repo orjson

    Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy

    Project mention: How To Handle JSON Data using Python? | reddit.com/r/Python | 2021-04-27

    I studied which JSON encoder/decoder was the fastest last year, and orjson was the fastest I could find, by quite a margin.

  • GitHub repo JsonMapper

    Map nested JSON structures onto PHP classes

  • GitHub repo jsoniter

    jsoniter (json-iterator) is fast and flexible JSON parser available in Java and Go (by json-iterator)

  • GitHub repo jackson-module-kotlin

    Module that adds support for serialization/deserialization of Kotlin (http://kotlinlang.org) classes and data classes.

    Project mention: Kotlin Team AMA #3: Ask Us Anything | reddit.com/r/Kotlin | 2021-05-27

    Got you, thanks. I didn’t mean to sound offensive - a better wording would be that they don’t seem to prioritize this part, at least based on https://github.com/FasterXML/jackson-module-kotlin/issues/199, which has one abandoned branch from a 3rd party and a couple of comments from from maintainers.

  • GitHub repo BlueCap

    iOS Bluetooth LE framework

  • GitHub repo bebop

    An extremely simple, fast, efficient, cross-platform serialization format

    Project mention: bebop v2.1.4: Discriminated Unions, Improvements to C# Codegen, and More. | reddit.com/r/csharp | 2021-03-03
  • GitHub repo colander

    A serialization/deserialization/validation library for strings, mappings and lists.

  • GitHub repo cattrs

    Complex custom class converters for attrs.

  • GitHub repo NoProto

    Flexible, Fast & Compact Serialization with RPC

    Project mention: Writing no_std-friendly libraries? | reddit.com/r/rust | 2021-04-12

    You can easily use allocation and allocation dependent data types with the ‘alloc’ crate. Everything in the alloc crate will honor a global allocator set by the host application. I built a no_std crate with allocation, if you’d like to check it out for examples: https://github.com/only-cliches/NoProto

  • GitHub repo FlatSharp

    Fast, idiomatic C# implementation of Flatbuffers

  • GitHub repo borer

    Efficient CBOR and JSON (de)serialization in Scala

    Project mention: Performance of 12 JSON parsers for Scala | reddit.com/r/scala | 2021-03-29

    I've updated results of benchmarks of 12 JSON parsers for Scala: - AVSystem's scala-commons - Borer - Circe - DSL-JSON - Jackson - jsoniter-scala - Play-JSON, - play-json-jsoniter - Spray-JSON - uPickle - weePickle - zio-json

  • GitHub repo json_struct

    json_struct is a single header only C++ library for parsing JSON directly to C++ structs and vice versa

    Project mention: C++ JSON libs Reviewed/Compared - nlohmann, rapidjson, boost.json | reddit.com/r/programming | 2020-12-26

    Nice page! I have written a JSON header only library that parses and serializes to structs. Would you be interested in reviewing it? Performance is ok/good and I personally think usability is good as well :) https://github.com/jorgen/json_struct

  • GitHub repo TermiNetwork

    🌏 A zero-dependency networking solution for building modern and secure iOS, watchOS, macOS and tvOS applications.

    Project mention: TermiNetwork networking library for Apple platforms | dev.to | 2020-12-29
  • GitHub repo xtract

    A library to make it easy to deserialize XML to user types in scala

  • GitHub repo jzon

    A correct and safe JSON parser. (by Zulu-Inuoe)

    Project mention: jzon - a correct and safe JSON parser. | reddit.com/r/Common_Lisp | 2021-05-12
  • GitHub repo pagser

    Pagser is a simple, extensible, configurable parse and deserialize html page to struct based on goquery and struct tags for golang crawler

  • GitHub repo sexp-grammar

    Invertible parsing for S-expressions

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-05-31.


What are some of the best open-source Deserialization projects? This list will help you:

Project Stars
1 fastjson 23,494
2 jsoniter 9,436
3 marshmallow 5,564
4 ysoserial 4,216
5 HandyJSON 3,772
6 Schematics 2,425
7 orjson 2,108
8 JsonMapper 1,335
9 jsoniter 1,333
10 jackson-module-kotlin 857
11 BlueCap 674
12 bebop 441
13 colander 410
14 cattrs 301
15 NoProto 161
16 FlatSharp 153
17 borer 140
18 json_struct 92
19 TermiNetwork 69
20 xtract 53
21 jzon 41
22 pagser 33
23 sexp-grammar 23