jennifer registry

@mplx/javaser

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.

Versions

VersionStatusKindPinRequiresEnginesCapabilities
0.1.0yankedgit564e80c0df20-jennifer >=0.28.0-

License

LGPL-3.0-only

Source

Released from
0.1.0
Published under
@mplx mplx
Repository owner
mplx

Resolutions

Times 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.

Readme

@mplx/javaser

test Documentation release

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.

Documentation

Install

jvc add @mplx/javaser

This vendors the deck to vendor/mplx/javaser/. Without jvc, unpack the src/ subtree of a release archive (mplx-javaser-<version>.tar.gz) there.

Usage

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));

Requirements

Jennifer 0.28.0 or newer. Pure computation: no network, files only as the caller reads them.

Development

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 archive

The 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.

Trademarks

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.

Licence

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.

This deck as JSON