Saved locally in your browser only.
Filter by type
No saved results yet. Run the tool to capture output here.
TypeScript output
export interface Root { id: number; name: string; tags: string | number[]; active: boolean; }
Mixed arrays become union types. No eval — JSON.parse only.
Complements JSON Formatter for beautify/minify workflows.
No — parsing and code generation run entirely in your browser.
Array elements with different types become TypeScript union types.
Optional export const gives you a runtime value plus a typeof type alias.