# Oskuvi Classes from JSON

> Oskuvi Classes from JSON writes Java classes from a JSON sample in IntelliJ IDEA: getters and setters, records or Lombok, with Jackson or Gson names. Nothing leaves your machine.

Source: https://npcoding.ca/products/oskuvi-classes-from-json/
Last updated: 2026-10-22

Writes the Java classes that fit a JSON sample: paste the JSON, see the classes, press Create.

## Product facts

- **Type:** JetBrains IDE plugin
- **Status:** Live on JetBrains Marketplace (https://plugins.jetbrains.com/plugin/35128)
- **Works in:** IntelliJ IDEA, free and paid editions, 2025.1 or later
- **Licence:** 7-day free trial, then a paid licence
- **Vendor:** Oskuvi, by NPCoding
- **Vendor page:** https://plugins.jetbrains.com/vendor/npcoding

## What it does

Oskuvi Classes from JSON writes the Java classes that fit a JSON text. Right-click a package and choose New | Classes from JSON…; if a JSON object is on the clipboard it is already there, and the classes appear beside the sample as you type.

Types come from the sample: whole and decimal numbers by their size, lists, nested objects, and a class of its own for every object. A list of objects becomes one class that fits them all, and a field that is missing or null in one of them gets a type that can hold nothing. What a sample can't tell is said, not guessed.

The plugin works on your machine. The sample goes nowhere, and it doesn't add Jackson, Gson or Lombok to your project.

## Who it's for

- Java developers writing a client for an API that only has JSON examples.
- Anyone turning a sample response into model classes for a test or a prototype.

## Key features

- **Classes with getters and setters:** Plain Java classes, one file per class or everything nested in one file.
- **Errors in words:** A mistake in the JSON is named with its line and column: a comma too many, single quotes, a key without quotes.
- **Safe to try:** Nothing is written over an existing file, and one Undo takes all the new files away.
- **Records and Lombok:** Write records, or classes with Lombok's @Data.
- **Jackson or Gson names:** @JsonProperty or @SerializedName where a key isn't a Java name, like first-name or class, or on every field.

## Frequently asked questions

### Is there a free trial?

Yes, 7 days. After that, Oskuvi Classes from JSON needs a licence, bought through JetBrains Marketplace, where the plugin's page shows the price.

### Does it add Jackson, Gson or Lombok to my project?

No. The annotations are written as text; adding the libraries stays your choice.

### Does it recognise dates, UUIDs and enums?

Not in this version: a date is a String. Objects whose keys are data rather than field names become classes with those keys as fields.

### Can it write Kotlin classes?

No. It writes Java classes and records.

## Related products

- [Oskuvi JSON from Classes](https://npcoding.ca/products/oskuvi-json-from-classes/): Writes a sample JSON for a Java class, with a value of the right kind for every field.
- [Oskuvi Class Diagrams](https://npcoding.ca/products/oskuvi-class-diagrams/): Draws a class diagram of the Java or Kotlin code you select and gives it to you as Mermaid or PlantUML text.
- [Oskuvi Code Metrics](https://npcoding.ca/products/oskuvi-code-metrics/): Measures the Java code you select and shows where it has grown hard to follow: per method, per class and per package.

## Built by NPCoding

Building or connecting APIs? We design, build and document them.

- [API Development](https://npcoding.ca/services/api-development/): Secure, well-documented REST and GraphQL APIs that connect your apps, partners and data.

*Java is a registered trademark of Oracle and/or its affiliates. Jackson, Gson and Lombok are the names of their projects; this plugin is not affiliated with any of them.*

---

NPCoding · AI-powered software & app development · Toronto, Canada · support@npcoding.com · https://npcoding.ca/contact/
