Decode Java Object Serialization streams (.ser files, ObjectOutputStream output) into a navigable object graph, without running any Java code
javaserializationobjectoutputstreamserdeserialization
This deck moved to @skiffyard/javaser. Change the [decks] entry and the imports (@skiffyard/javaser/). jvc refuses to add, install or update this name; a lockfile that pins one of its versions still installs, with a warning.
| Version | Status | Kind | Pin | Requires | Engines | Capabilities |
|---|---|---|---|---|---|---|
| 0.1.0 | yanked | git | 564e80c0df20 | - | jennifer >=0.28.0 | - |
LGPL-3.0-only
0.1.0Times a client asked this registry where to find this deck. Not downloads: the registry only stores metadata, and the code is fetched from its repository directly, so we never see an install and cannot count one. Repeated builds inflate these numbers; installs from an existing lockfile do not appear at all. Counted in UTC.
Decode Java™ Object Serialization streams - what ObjectOutputStream writes, found in .ser files, application project files, caches and RMI payloads - in a Jennifer program, without a JVM and without running any Java code. Objects, arrays, strings, enums, proxies, back-references and custom writeObject / writeExternal data become a graph of numbered nodes to navigate, or a readable tree.
jvc add @mplx/javaserThis vendors the deck to vendor/mplx/javaser/. Without jvc, unpack the src/ subtree of a release archive (mplx-javaser-<version>.tar.gz) there.
import "@mplx/javaser/" as javaser;
def s as javaser.Stream init javaser.decode(fs.readBytes("objects.ser"));
io.printf("%s", javaser.dump($s));
def first as int init javaser.contents($s)[0];
io.printf("%s\n", javaser.className($s, $first));Jennifer 0.28.0 or newer. Pure computation: no network, files only as the caller reads them.
tools/check-all.sh # the full gate, as CI runs it
jennifer test src/javaser_test.j # the test overlay
tools/check-docs.sh # docs against the code
tools/pack.sh dist # build the release archiveThe test streams are written by the JDK: testdata/gen/Fixtures.java writes them, testdata/gen/embed.j embeds them in src/topics/fixtures/streams_test.j.
Java™ is a trademark of Oracle and/or its affiliates; OpenJDK™ is a trademark of Oracle America, Inc. Other product and company names may be trademarks of their respective owners. They are used only to identify the products this deck works with. This deck is an independent project, not affiliated with, sponsored or endorsed by Oracle.
LGPL-3.0-only, see LICENSE. Copyright (C) 2026 mplx <[email protected]>.
tools/check-headers.sh checks every source file's SPDX header against deck.toml.