
Turn a JSON sample, such as an API response, into ready-to-use type definitions. The generator runs entirely in your browser, so your data never leaves your device.
Root)..ts, .cs or .go file.items becomes Item.? in TypeScript, nullable in C#, a pointer with omitempty in Go.number in TypeScript, int, long or double in C#, and int64 or float64 in Go, based on the values.object in C# and interface{} in Go. A value that is only ever null becomes any.[JsonPropertyName] in C#, and Go structs always get json tags.Why give several samples? Put multiple objects in an array to let the tool detect optional and nullable fields more accurately.
Is my JSON uploaded? No. Everything is processed locally in your browser.