chromium/base/json/json_string_value_serializer.cc

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

#include "base/json/json_string_value_serializer.h"

#include <string_view>

#include "base/json/json_reader.h"
#include "base/json/json_writer.h"

Value;

JSONStringValueSerializer::JSONStringValueSerializer(std::string* json_string)
    :{}

JSONStringValueSerializer::~JSONStringValueSerializer() = default;

bool JSONStringValueSerializer::Serialize(base::ValueView root) {}

bool JSONStringValueSerializer::SerializeAndOmitBinaryValues(
    base::ValueView root) {}

bool JSONStringValueSerializer::SerializeInternal(base::ValueView root,
                                                  bool omit_binary_values) {}

JSONStringValueDeserializer::JSONStringValueDeserializer(
    std::string_view json_string,
    int options)
    :{}

JSONStringValueDeserializer::~JSONStringValueDeserializer() = default;

std::unique_ptr<Value> JSONStringValueDeserializer::Deserialize(
    int* error_code,
    std::string* error_str) {}