XML to Typescript POJO Generator
Generate a starter model from JSON or XML locally.
Generate a starter model from JSON or XML locally.
Your XML sample becomes TypeScript interfaces named after its elements. Attributes and single child elements become properties, and an element that appears more than once becomes an array. <user id="7"><tag>a</tag><tag>b</tag></user> produces export interface User { id: number; tag: string[]; }.