[JSON] Use LLVM's library for encoding JSON in StructuredData
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 1 Oct 2019 17:41:48 +0000 (17:41 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 1 Oct 2019 17:41:48 +0000 (17:41 +0000)
commit2783d8179110b213714576fe6809ee8b02e55b16
treeddc37de49ab920e3f79a2a640528b95184e13768
parent9292983154f5ef5248f247a9e2b66543d5a74bbe
[JSON] Use LLVM's library for encoding JSON in StructuredData

This patch replaces the hand-rolled JSON emission in StructuredData with
LLVM's JSON library.

Differential revision: https://reviews.llvm.org/D68248

llvm-svn: 373359
lldb/include/lldb/Core/StructuredDataImpl.h
lldb/include/lldb/Utility/StructuredData.h
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
lldb/source/Utility/StructuredData.cpp
lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp