| 12 | } |
| 13 | |
| 14 | auto JsonHandler::GetCompressedJson(const std::string& jsonText) -> const Result |
| 15 | { |
| 16 | rj::StringBuffer sb; |
| 17 | rj::Writer<rj::StringBuffer, rj::UTF8<>, rj::UTF8<>, rj::CrtAllocator, rj::kWriteNanAndInfFlag> handler(sb); |
| 18 | |
| 19 | return ParseJson<flgBaseWriter>(jsonText, sb, handler); |
| 20 | } |
| 21 | |
| 22 | auto JsonHandler::FormatJson(const std::string& jsonText, LE le, LF lf, char indentChar, unsigned indentLen) -> const Result |
| 23 | { |
no outgoing calls