import json pub struct Struct { version ?int // = none } fn main() { s := Struct{} println('${json.encode(s)}') }