[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: |
Tue, 23 Jun 2020 09:55:14 +0200 |
User-agent: |
Evolution 3.36.3 |
Am Montag, den 22.06.2020, 16:44 -0700 schrieb Owen Lamb:
> Thanks, everyone! It looks like jsoncpp should work well for LilyPond.
>
> I don't have experience with adding files from one project to another.
> Jonas, is this "Amalgamated" procedure what you were describing?
> https://github.com/open-source-parsers/jsoncpp/wiki/Amalgamated-(Possibly-outdated)
Yes, that's what I did a few years back. I think there used to be
amalgamated versions of the releases, not sure if they vanished or I'm
just mistaken. In any case, I'd recommend using version 1.8.4; 1.9.x
will eventually lead to version 2.0, but the developers are not there
yet.
> If so, when instructions say to add the generated files to one's project,
> does that mean to just copy them into the lilypond-git directory somewhere?
Pretty much that, yes.
> Where would be a good place to put them?
No clue. Historically, that sounds like a job for flower/, but I'm not
a fan of the current split between flower/ and lily/. Please get
opinions from other developers that have been involved longer than me.
Regards
Jonas
>
> Thanks,
> Owen
>
> On Sat, Jun 20, 2020 at 5:20 AM Noeck <
> noeck.marburg@gmx.de
> > wrote:
>
> > > > 1. LilyPond already seems to use some parts of the BOOST library (which
> > > > is kind of the extended C++ STL).
> > >
> > > Not that I know of.
> > >
> >
> > You're right. I just quickly skimmed through a grep and found this:
> >
> >
> > https://github.com/lilypond/lilypond/blob/master/flower/include/yaffut.hh#L2
> >
> >
> > or a define HAVE_BOOST_LAMBDA in an older version.
> >
> > Cheers,
> > Joram
> >
> >
signature.asc
Description: This is a digitally signed message part
- Parsing JSON in C++, Owen Lamb, 2020/06/19
- Re: Parsing JSON in C++, Carl Sorensen, 2020/06/19
- 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 <=
- 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, 2020/06/20