chromium/third_party/libaddressinput/chromium/json.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/libaddressinput/src/cpp/src/util/json.h"

#include <map>
#include <memory>
#include <optional>

#include "base/check.h"
#include "base/json/json_reader.h"
#include "base/memory/ptr_util.h"
#include "base/values.h"

namespace i18n {
namespace addressinput {

namespace {

// Returns |json| parsed into a JSON dictionary. Sets |parser_error| to true if
// parsing failed.
base::Value::Dict Parse(const std::string& json, bool* parser_error) {}

}  // namespace

// Implementation of JSON parser for libaddressinput using JSON parser in
// Chrome.
class Json::JsonImpl {};

Json::Json() {}

Json::~Json() {}

bool Json::ParseObject(const std::string& json) {}

const std::vector<const Json*>& Json::GetSubDictionaries() const {}

bool Json::GetStringValueForKey(const std::string& key,
                                std::string* value) const {}

Json::Json(JsonImpl* impl) :{}

}  // namespace addressinput
}  // namespace i18n