1 //===--- Conversion.h - LSP data (de-)serialization through XPC -*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_XPC_XPCJSONCONVERSIONS_H
10 #define LLVM_CLANG_TOOLS_EXTRA_CLANGD_XPC_XPCJSONCONVERSIONS_H
12 #include "llvm/Support/JSON.h"
18 xpc_object_t
jsonToXpc(const llvm::json::Value
&JSON
);
19 llvm::json::Value
xpcToJson(const xpc_object_t
&XPCObject
);