मुफ़्त · डेवलपमेंट
JSON से Java record.
JSON उदाहरण को Java record में बदलें, Jackson @JsonProperty, वैकल्पिक फ़ील्ड के लिए wrapper टाइप और नेस्टेड record के साथ।
Loading the calculator…
इस टूल का उपयोग कैसे करें: JSON से Java record
डेटा दर्ज करें या फ़ाइल चुनें। विकल्प बदलें, परिणाम बनाएं और कॉपी या डाउनलोड करने से पहले उसकी जांच करें।
सीमाएं और समर्थित फ़ॉर्मैट
आपका डेटा आपके उपकरण पर संसाधित होता है।
अंग्रेज़ी में तकनीकी जानकारी
Needs Java 16+ and jackson-databind 2.12+. Types are inferred from the sample only. Everything is calculated in your browser; nothing you type is uploaded.
Integers map to long, decimals to double, lists to List<T>; optional fields use Long, Double or Boolean so they can be null. Java keywords get a trailing underscore.
The sample becomes public record User(long id, @JsonProperty("user_name") String userName, …) with Order and Address nested inside.