Hacker News with Generative AI: Serialization

Show HN: Ldump – serialize any Lua data (github.com/girvel)
ldump is a flexible serializer, able to serialize any data, starting with circular references, tables as keys, functions with upvalues, metatables and ending with coroutines, threads and userdata (by defining how they should be serialized). It outputs valid Lua code that recreates the original object, doing the deserialization through load(data)(). It aims for functionality and flexibility instead of speed and size, allowing full serialization of complex data, such as video game saves.
Preserves: An Expressive Data Language (preserves.dev)
This repository contains a definition and various implementations of Preserves, a data model with associated serialization formats in many ways comparable to JSON, XML, S-expressions, CBOR, ASN.1 BER, and so on.
Yek: Serialize your code repo (or part of it) to feed into any LLM (github.com/bodo-run)
A fast Rust based tool to read text-based files in a repository or directory, chunk them, and serialize them for LLM consumption.
MessagePack: It's like JSON, but fast and small. (msgpack.org)
MessagePack is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON. But it's faster and smaller. Small integers are encoded into a single byte, and typical short strings require only one extra byte in addition to the strings themselves.
Cramming Scrapscript into Msgpack (taylor.town)
msgpack is a lovely little serialization format. As a JSON replacement, it saves bandwidth while preserving native language features (e.g. tuples, records, objects, dates).
Using gRPC for (local) inter-process communication (2021) (mpi-hd.mpg.de)
Using a full-featured RPC framework for IPC seems like overkill when the processes run on the same machine. However, if your project anyway exposes RPCs for public APIs or would benefit from a schema-based serialisation layer it makes sense to use only one tool that combines these—also for IPC.
Boosting Jackson's Serialization Performance with Quarkus (quarkus.io)
Fast Lua Serialization (2023) (artemis.sh)
Version Tolerant Serialization in C++ (developernote.com)
Serialization for C# Games (chickensoft.games)