[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Parsing JSON in C++
From: |
Han-Wen Nienhuys |
Subject: |
Re: Parsing JSON in C++ |
Date: |
Sat, 20 Jun 2020 10:52:10 +0200 |
On Sat, Jun 20, 2020 at 1:30 AM Owen Lamb <owendlamb@gmail.com> wrote:
>
> Hi all,
>
> I need to be able to expose the contents of a SMuFL font's JSON metadata
> file to LilyPond. From what I can tell, LilyPond currently doesn't have any
> sort of JSON-parsing library in its dependencies, either in Scheme or in
> C++. An internet search revealed that there are... a *lot* of options.
> Is there a particular one that would suit LilyPond the
> best, legally/otherwise?
I know of jansson, which is used by universal-ctags, which is a plain
C library.
I took a look at jsoncpp mentioned below as well.
Both jansson and jsoncpp appear to come with extensive docs and tests,
which is encouraging. They're roughly equally large (5k lines), and
appear to have no further dependencies. They're both available under
MIT license, which is OK for us.
guile-json checks in its configure scripts for guile 2.x, so you'd
have to check if it works at all with GUILE 1.8. The dynamic nature of
JSON may be a better fit to GUILE, but I think we'll be accessing the
data from C++ mainly, so it's probably better to pick a C(++) library.
> Thanks,
> Owen
--
Han-Wen Nienhuys - hanwenn@gmail.com - http://www.xs4all.nl/~hanwen
- Re: Parsing JSON in C++, (continued)
- Re: Parsing JSON in C++, Noeck, 2020/06/20
- Re: Parsing JSON in C++, Noeck, 2020/06/20
- Re: Parsing JSON in C++, David Kastrup, 2020/06/20
- Re: Parsing JSON in C++, Noeck, 2020/06/20
- Re: Parsing JSON in C++, Owen Lamb, 2020/06/22
- Re: Parsing JSON in C++, Jonas Hahnfeld, 2020/06/23
- Re: Parsing JSON in C++, Han-Wen Nienhuys, 2020/06/23
- Re: Parsing JSON in C++, Owen Lamb, 2020/06/23
- Re: Parsing JSON in C++, Han-Wen Nienhuys, 2020/06/24
Re: Parsing JSON in C++, Marco Atzeri, 2020/06/20
Re: Parsing JSON in C++,
Han-Wen Nienhuys <=