#include "src/trace_processor/importers/json/json_utils.h"
#include "perfetto/base/build_config.h"
#include <limits>
#if PERFETTO_BUILDFLAG(PERFETTO_TP_JSON)
#include <json/reader.h>
#include "perfetto/ext/base/string_utils.h"
#endif
namespace perfetto {
namespace trace_processor {
namespace json {
std::optional<int64_t> CoerceToTs(const Json::Value& value) { … }
std::optional<int64_t> CoerceToTs(const std::string& s) { … }
std::optional<int64_t> CoerceToInt64(const Json::Value& value) { … }
std::optional<uint32_t> CoerceToUint32(const Json::Value& value) { … }
std::optional<Json::Value> ParseJsonString(base::StringView raw_string) { … }
bool AddJsonValueToArgs(const Json::Value& value,
base::StringView flat_key,
base::StringView key,
TraceStorage* storage,
ArgsTracker::BoundInserter* inserter) { … }
}
}
}