odin-jsonschema

Implementation of JSON schema for Odin
Log | Files | Refs | LICENSE

expected.odin (323B)


      1 // Code generated by jschema. DO NOT EDIT.
      2 package schema
      3 
      4 import "core:encoding/json"
      5 
      6 Root :: struct {
      7 	tree: Maybe(Node) `json:"tree"`,
      8 	loop: Maybe(Loop) `json:"loop"`,
      9 }
     10 
     11 Node :: struct {
     12 	value: string `json:"value"`,
     13 	children: Maybe([]Node) `json:"children"`,
     14 }
     15 
     16 Loop :: struct {
     17 	next: json.Value `json:"next"`,
     18 }