#include <folly/json/DynamicParser.h>
#include <sstream>
#include <glog/logging.h>
#include <folly/Optional.h>
namespace folly {
usingnamespacestring_piece_literals;
namespace {
folly::dynamic& insertAtKey(
folly::dynamic* d, bool allow_non_string_keys, const folly::dynamic& key) { … }
}
void DynamicParser::reportError(
const folly::dynamic* lookup_k, const std::exception& ex) { … }
void DynamicParser::ParserStack::Pop::operator()() noexcept { … }
DynamicParser::ParserStack::PopGuard DynamicParser::ParserStack::push(
const folly::dynamic& k, const folly::dynamic& v) noexcept { … }
folly::dynamic& DynamicParser::ParserStack::errors(
bool allow_non_string_keys) noexcept { … }
folly::dynamic DynamicParser::ParserStack::releaseErrors() { … }
[[noreturn]] void DynamicParser::ParserStack::throwErrors() { … }
folly::dynamic DynamicParser::ParserStack::releaseErrorsImpl() { … }
namespace detail {
std::string toPseudoJson(const folly::dynamic& d) { … }
}
}