(ctx context.Context)
| 139 | } |
| 140 | |
| 141 | func (p *TJSONProtocol) WriteMapEnd(ctx context.Context) error { |
| 142 | if e := p.OutputObjectEnd(); e != nil { |
| 143 | return e |
| 144 | } |
| 145 | return p.OutputListEnd() |
| 146 | } |
| 147 | |
| 148 | func (p *TJSONProtocol) WriteListBegin(ctx context.Context, elemType TType, size int) error { |
| 149 | return p.OutputElemListBegin(elemType, size) |