JSON to TypeScript Interface
Generate TypeScript interface or type definitions from JSON. Handles nested objects, arrays, and null values.
Generate Java class definitions from JSON. Supports nested objects, arrays, Lombok annotations, Jackson @JsonProperty, and auto-generated getters/setters.
This tool generates Java class definitions from JSON — ideal for quickly creating model classes from API responses, configuration files, or any JSON data structure.
Nested objects are expanded into separate named classes, arrays are typed as List<T>, and all classes are output in dependency order. Lombok and Jackson support makes the generated code ready to drop into Spring Boot or any other Java project.
Each nested object is converted into its own named Java class and referenced as a field type in the parent class. Classes are output in dependency order so the result can be used directly in a Java project.
Arrays are typed as `List<T>`. For arrays of objects, all keys across all elements are merged into a single class and output as `List<ClassName>`.
When "Make fields private" is enabled without Lombok, getter and setter methods are automatically generated for each field.
Fields with null values are typed as `Object`. You can manually change the type after generation once you know the actual expected type.