Turn a JSON payload into ready-to-use V (vlang) structs: paste JSON on the left, get the struct code on the right.
Nested objects become their own structs and arrays with mixed types become sum types. A row of toggles controls the generated style:
@[omitempty]tag- All public fields/structs
- Reserved words escaped with
@ - Anonymous structs instead of helper structs
- Reuse identical struct shapes
Code editor: ace
Fonts: google fonts


