Example input and settings
{"name":"Ada","age":18}Infer JSON field types and generate a Java data class.
Java classes · Field type inferenceEnter a JSON object to generate field declarations for a Java Root class. Integers use long, arrays infer List from the first item and nested objects use Map. Add accessors and serialization settings to suit your project.
Check the input format and options with this example before using your own data. Random values, file sizes and presentation vary with the input and settings.
{"name":"Ada","age":18}String name;
long age;