On 08/04/2017 04:04 PM, David Malcolm wrote: > This patch adds support to gcc for reading and writing JSON, > based on DOM-like trees of json::value instances. > > gcc/ChangeLog: > * Makefile.in (OBJS): Add json.o. > * json.cc: New file. > * json.h: New file. > * selftest-run-tests.c (selftest::run_tests): Call json_cc_tests. > * selftest.h (selftest::json_cc_tests): New decl. Any chance we can re-use an implementation? I don't see a lot of value in providing our own JSON bits. Is JSON inherently easier/better in some way over XML or other formats we could be using for the interchange of data?
jeff