假设我编写了以下代码片段。Playground上的完整代码here适合那些喜欢的人。typeBookstruct{TitlestringAuthorstring}funcmain(){ms:=Book{"Catch-22","JosephHeller"}out,err:=json.MarshalIndent(ms,"","")iferr!=nil{log.Fatalln(err)}fmt.Println(string(out))}此代码输出以下内容,完全符合我的预期:{"Title":"Catch-22","Author":"JosephHeller"}假设我想在JSON输出中添加一个