cuelang.org/go@v0.10.1/encoding/protobuf/jsonpb/testdata/encoder/struct.txtar (about)

     1  -- schema.cue --
     2  a: {
     3  	{b: int @protobuf(1,int64)}
     4  
     5  	c: int @protobuf(1,int64)
     6  
     7  	{d: int @protobuf(1,int32)}
     8  
     9  	e: int @protobuf(1,int32)
    10  }
    11  -- value.cue --
    12  // Hello
    13  a: {
    14  	b: 1
    15  	c: 2
    16  	d: 3
    17  	e: 4
    18  }
    19  -- out/jsonpb --
    20  // Hello
    21  a: {
    22  	b: "1"
    23  	c: "2"
    24  	d: 3
    25  	e: 4
    26  }