[Lldb-commits] [PATCH] D34322: [lldb] Correctly escape newlines and backslashes in the JSON serializer

Chris Bieneman via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 19 09:25:48 PDT 2017

beanz added a comment.

In https://reviews.llvm.org/D34322#783532, @joerg wrote:

> My suggestion would be to just use the YAML writer for now and leave a comment to make it clear that this is really JSON only.

Our YAML parser can parse JSON because YAML is a superset of JSON, but I don't believe the YAML writer supports writing out inline-style YAML which would be compatible with a JSON parser. That might make the LLVM YAML writer unsuitable for @kubamracek's use case.


More information about the lldb-commits mailing list