()
| 769 | } |
| 770 | |
| 771 | func (p *TSimpleJSONProtocol) OutputObjectEnd() error { |
| 772 | if _, e := p.write(JSON_RBRACE); e != nil { |
| 773 | return NewTProtocolException(e) |
| 774 | } |
| 775 | _, ok := p.dumpContext.pop() |
| 776 | if !ok { |
| 777 | return errEmptyJSONContextStack |
| 778 | } |
| 779 | if e := p.OutputPostValue(); e != nil { |
| 780 | return e |
| 781 | } |
| 782 | return nil |
| 783 | } |
| 784 | |
| 785 | func (p *TSimpleJSONProtocol) OutputListBegin() error { |
| 786 | if e := p.OutputPreValue(); e != nil { |
no test coverage detected