KISS Java Libraries

KissJson

Tiny zero-dependency Java 17+ JSON serialization and deserialization with direct field mapping, explicit configuration, and useful parse errors.

Latest stable: 0.1.0 Java 17+ Apache-2.0

Maven

<dependency>
  <groupId>io.github.arthurhoch</groupId>
  <artifactId>kiss-json</artifactId>
  <version>0.1.0</version>
</dependency>

Small Surface

KissJson maps fields directly without getters, setters, runtime plugins, or transitive dependencies. The API is intended to be easy to remember and easy to inspect.

Quick Example

Json json = Json.create();
String text = json.stringify(user);
User parsed = json.parse(text, User.class);

KISS Principles

Zero Dependencies

The production artifact stays independent of external JSON frameworks.

Explicit Mapping

Field names, null handling, dates, enums, aliases, and required fields are configured directly.

Readable Failures

Parse and mapping errors include path, line, column, and cause context.

Documentation

Related Projects