Serialization & Data Formats Packages
Serialization and data-format libraries for converting between structured data and wire formats (Serde, Protobuf, JSON/YAML/TOML, MessagePack).
Packages in Serialization & Data Formats
Kind
Sort:Used by Most Apps
quicktype
Generate strongly-typed models and serializers from JSON, Schema, TypeScript, or GraphQL
HCL v2
A Go toolkit for parsing, evaluating, and generating HashiCorp's HCL configuration language.
jsondiffpatch
Diff and patch JavaScript objects with compact deltas, smart array diffing, and pluggable output formatters.
sqlparser
Extensible SQL lexer and parser for Rust, conforming to ANSI SQL:2011
node-xlsx
TypeScript-first Excel parser and builder for Node.js, built on SheetJS.
dill
Extend Python's pickle to serialize almost anything, including lambdas and live sessions
Gorilla Schema
Gorilla Schema fills Go structs from HTTP form values and encodes them back into url.Values using struct tags.
xml-js
Converts XML text to JavaScript objects or JSON and back, preserving element order.
schema-dts
TypeScript type definitions for Schema.org's JSON-LD vocabulary, giving structured data literals full autocomplete and compile-time validation.
pgzip
Drop-in parallel gzip compression and decompression for Go, splitting large payloads into concurrently-processed blocks.
Peggy
Parser generator for JavaScript using parsing expression grammars (PEG)
rust-brotli
A no-std-friendly Rust port of Google's Brotli compressor and decompressor, byte-compatible with the reference C implementation.
feeds
A Go library for generating RSS, Atom, and JSON feeds from a single, format-agnostic Feed model.
msgpackr
Ultra-fast MessagePack serialization for JavaScript with record structures for faster, more compact encoding.
strip-json-comments
Strip comments from JSON strings so you can safely use JSONC config files.
php-serialize
Serialize and unserialize PHP's serialized data format in JavaScript
json-stable-stringify
A deterministic version of JSON.stringify() that sorts object keys so identical data always produces identical output.
xmltodict
Turns XML into ordered Python dicts and back again, using a fast streaming Expat parser instead of a DOM.
jsonparser
A fast, allocation-free JSON parser for Go that reads values by key path without unmarshaling into structs.
types-toml
PEP 561 type stubs that add static typing to the Python toml library
easyjson
Reflection-free JSON marshaling and unmarshaling for Go, generating type-specific code up to 5x faster than encoding/json.
cast
Safe, predictable type conversion for Go — turn any value into the exact type you need without panics.
go-json
A fast, drop-in replacement for Go's encoding/json that skips reflection in favor of compiled opcode execution.
runtime-spec
Go structs for the OCI Runtime Specification — the container config, state, and features schema shared by runc, containerd, and CRI-O.