XML to Go POJO Generator
Generate a starter model from JSON or XML locally.
Generate a starter model from JSON or XML locally.
The sample XML is turned into Go structs named after its elements; attributes and children become fields with json tags, and an element that occurs more than once becomes a slice. <user id="7"><tag>a</tag><tag>b</tag></user> gives type User struct with Id int64 and Tag []string.