Displaying 2 results from an estimated 2 matches for "f69be794".
2018 Apr 16
0
RFC: Adding a JSON library to LLVM Support
Finally following up here...
We ended up writing a JSON parser and checking it in under clangd/. We've
been using that for a while now without hitting new problems.
The header is here:
https://reviews.llvm.org/source/clang-tools-extra/browse/clang-tools-extra/trunk/clangd/JSONExpr.h
It's a DOM-based approach with objects on the heap. There's no streaming
parser, though one could be
2017 Oct 27
10
RFC: Adding a JSON library to LLVM Support
We don't have a dedicated JSON library in the LLVM tree, I'd like to add
one. The pressing need is for clangd, but we have other tools that
read/write JSON too.
I'm proposing we write a new one, rather than importing a third-party
library (licensing/integration reasons), on or extending YamlParser/YamlIO
(usability/flexibility). I lean towards a design that parses a full DOM at
once,