我想构造一个这样的任意json并动态返回给用户
{
"items":[
{
"available":"2",
"capacity":"2",
"name":"name2",
"entityKey":"dkfhakshdfh"
},
{
"available":"1",
"capacity":"1",
"name":"name1",
"entityKey":"dkfhaksdfef"
}
],
"kind":"theatreManagement#show",
"etag":"\"asdfasdfasfasfahih\""w
}
但似乎没有字段可以传入 json。可用的字段有 StringField、BytesField 等,
如何返回一个json对象?