Skip to content

json to go struct support Outline type definitions #256

Open
@wulei

Description

@wulei
{
  "test": {
    "inline": 1
  },
  "world": {
    "hi": {
      "say": 1,
      "age": 20
    }
  }
}

support look like:

type AutoGenerated struct {
	Test  Test  `json:"test"`
	World World `json:"world"`
}
type Test struct {
	Inline int `json:"inline"`
}
type Hi struct {
	Say int `json:"say"`
	Age int `json:"age"`
}
type World struct {
	Hi Hi `json:"hi"`
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions