lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parsing JSON in C++


From: Jonas Hahnfeld
Subject: Re: Parsing JSON in C++
Date: Sat, 20 Jun 2020 11:00:38 +0200
User-agent: Evolution 3.36.3

Am Samstag, den 20.06.2020, 10:52 +0200 schrieb Han-Wen Nienhuys:
> 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.

For jsoncpp, I know that upstream has instruction how to bundle the
source with the code that uses it. This means no added dependency and
no configure checks which are hard to get right. Not sure if this is
also possible with jansson.

Jonas

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]