blob: ae401e6ec40668011ccf800892ee479f908a9602 [file] [log] [blame]
// Copyright 2019 The Chromium OS 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 <string>
#include <vector>
#include <chromeos/libipp/ipp.h>
// This function build JSON representation of the given IPP response along with
// the log from parsing it.
bool ConvertToJson(const ipp::Response& response,
const std::vector<ipp::Log>& log,
bool compressed_json,
std::string* json);