Data to Class
Turn a JSON sample into ready-to-use Java classes with getters and setters.
Paste a JSON response or sample and get ready-to-use Java POJO (Plain Old Java Object) classes — private fields with proper types, plus getters and setters for each one, following standard Java naming conventions. Nested objects become their own classes automatically.
int, double, String, boolean) and camelCase names, even if your JSON uses snake_case keys.isFieldName() instead of getFieldName() for boolean fields, matching idiomatic Java style.List<T> fields for JSON arrays, with the correct import statement added automatically when needed.@JsonProperty("original_key") annotation added by hand, or by configuring a naming strategy globally.int; numbers with a decimal point are typed as double. If you need a different numeric type (like long for large IDs), adjust the generated field type manually.null in your sample is typed as Object, since there's no type information to infer from a null value alone. Update it manually once you know the field's real type.List<T> field where T is a properly generated nested class for the object shape inside the array.