blob: 02206f372fdc8373907cc168200eb4b35b88ce92 [file] [log] [blame]
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/test/chromedriver/chrome/util.h"
#include "base/json/json_writer.h"
#include "base/values.h"
std::string SerializeValue(const base::Value* value) {
std::string json;
base::JSONWriter::Write(*value, &json);
return json;
}