| 489 | } |
| 490 | |
| 491 | TString WrapJsonToCallback(const TBuf& buf, TStringBuf callback) { |
| 492 | if (!callback) { |
| 493 | return buf.Str(); |
| 494 | } else { |
| 495 | return TString::Join(callback, "(", buf.Str(), ")"); |
| 496 | } |
| 497 | } |
| 498 | |
| 499 | TBufState TBuf::State() const { |
| 500 | return TBufState{NeedComma, NeedNewline, Stack}; |
no test coverage detected