()
| 783 | } |
| 784 | |
| 785 | func (p *TSimpleJSONProtocol) OutputListBegin() error { |
| 786 | if e := p.OutputPreValue(); e != nil { |
| 787 | return e |
| 788 | } |
| 789 | if _, e := p.write(JSON_LBRACKET); e != nil { |
| 790 | return NewTProtocolException(e) |
| 791 | } |
| 792 | p.dumpContext.push(_CONTEXT_IN_LIST_FIRST) |
| 793 | return nil |
| 794 | } |
| 795 | |
| 796 | func (p *TSimpleJSONProtocol) OutputListEnd() error { |
| 797 | if _, e := p.write(JSON_RBRACKET); e != nil { |
no test coverage detected