JSON to Javascript POJO Generator
Generate a starter model from JSON or XML locally.
Generate a starter model from JSON or XML locally.
Produces ES2020 classes whose constructors copy fields from a plain object, create nested class instances for nested objects and map arrays of objects, with JSDoc type comments and a static fromJSON() helper; the classes are exported as an ES module. For {"id":1,"address":{"city":"Oslo"}} the Root constructor sets this.address = data.address == null ? null : new Address(data.address);.