Packages

Serialization & Data Formats Packages

Serialization and data-format libraries for converting between structured data and wire formats (Serde, Protobuf, JSON/YAML/TOML, MessagePack).

487 packages

Packages in Serialization & Data Formats

83Health
Tool npm

quicktype

Generate strongly-typed models and serializers from JSON, Schema, TypeScript, or GraphQL

13,877
Apache 2.0
Used by 5
91Health
Library Go

HCL v2

A Go toolkit for parsing, evaluating, and generating HashiCorp's HCL configuration language.

5,811
MPL-2.0
Used by 5
49Health
Library npm

jsondiffpatch

Diff and patch JavaScript objects with compact deltas, smart array diffing, and pluggable output formatters.

5,347
MIT
Used by 5
83Health
Library Cargo

sqlparser

Extensible SQL lexer and parser for Rust, conforming to ANSI SQL:2011

3,466
Apache 2.0
Used by 5
43Health
Library npm

node-xlsx

TypeScript-first Excel parser and builder for Node.js, built on SheetJS.

3,035
Apache 2.0
Used by 5
70Health
Library PyPI

dill

Extend Python's pickle to serialize almost anything, including lambdas and live sessions

2,450
Other
Used by 5
45Health
Library Go

Gorilla Schema

Gorilla Schema fills Go structs from HTTP form values and encodes them back into url.Values using struct tags.

1,515
BSD 3
Used by 5
47Health
Library npm

xml-js

Converts XML text to JavaScript objects or JSON and back, preserving element order.

1,339
MIT
Used by 5
65Health
Library npm

schema-dts

TypeScript type definitions for Schema.org's JSON-LD vocabulary, giving structured data literals full autocomplete and compile-time validation.

1,246
Apache 2.0
Used by 5
50Health
Library Go

pgzip

Drop-in parallel gzip compression and decompression for Go, splitting large payloads into concurrently-processed blocks.

1,212
MIT
Used by 5
50Health
Tool npm

Peggy

Parser generator for JavaScript using parsing expression grammars (PEG)

1,180
MIT
Used by 5
71Health
Library Cargo

rust-brotli

A no-std-friendly Rust port of Google's Brotli compressor and decompressor, byte-compatible with the reference C implementation.

944
BSD 3
Used by 5
44Health
Library Go

feeds

A Go library for generating RSS, Atom, and JSON feeds from a single, format-agnostic Feed model.

816
BSD 3
Used by 5
60Health
Library npm

msgpackr

Ultra-fast MessagePack serialization for JavaScript with record structures for faster, more compact encoding.

695
MIT
Used by 5
52Health
Library npm

strip-json-comments

Strip comments from JSON strings so you can safely use JSONC config files.

625
MIT
Used by 5
40Health
Library npm

php-serialize

Serialize and unserialize PHP's serialized data format in JavaScript

120
MIT
Used by 5
29Health
Library npm

json-stable-stringify

A deterministic version of JSON.stringify() that sorts object keys so identical data always produces identical output.

79
MIT
Used by 5
59Health
Library PyPI

xmltodict

Turns XML into ordered Python dicts and back again, using a fast streaming Expat parser instead of a DOM.

5,756
MIT
Used by 4
77Health
Library Go

jsonparser

A fast, allocation-free JSON parser for Go that reads values by key path without unmarshaling into structs.

5,655
MIT
Used by 4
84Health
Library PyPI

types-toml

PEP 561 type stubs that add static typing to the Python toml library

5,125
Apache 2.0
Used by 4
49Health
Library Go

easyjson

Reflection-free JSON marshaling and unmarshaling for Go, generating type-specific code up to 5x faster than encoding/json.

4,917
MIT
Used by 4
63Health
Library Go

cast

Safe, predictable type conversion for Go — turn any value into the exact type you need without panics.

3,980
MIT
Used by 4
89Health
Library Go

go-json

A fast, drop-in replacement for Go's encoding/json that skips reflection in favor of compiled opcode execution.

3,718
MIT
Used by 4
55Health
Library Go

runtime-spec

Go structs for the OCI Runtime Specification — the container config, state, and features schema shared by runc, containerd, and CRI-O.

3,686
Apache 2.0
Used by 4

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers