librelist archives

« back to archive

How to use click json elements in a package

How to use click json elements in a package

From:
=?ks_c_5601-1987?B?x+O9xb+1?=
Date:
2015-07-17 @ 05:21
Hello,

I’m looking for how to use click json elements in a package.
Is there way to install click/elements/json.hh so that I can include it in
my package.
Or should I just copy json.cc and .hh file into my package?

Cinyoung.

Re: [click] How to use click json elements in a package

From:
Eddie Kohler
Date:
2015-07-24 @ 16:39
Hi Cinyoung,

You could just go ahead and include them in your package (as long as the
licenses work out). But it might be better to include them directly from
the Click sources. Your element code might look like:

#include <elements/json/json.hh>
...
ELEMENT_REQUIRES(Json)

Eddie


On Fri, Jul 17, 2015 at 1:21 AM, 허신영 <cyhur@etri.re.kr> wrote:

>  Hello,
>
>
>
> I’m looking for how to use click json elements in a package.
>
> Is there way to install click/elements/json.hh so that I can include it in
> my package.
>
> Or should I just copy json.cc and .hh file into my package?
>
>
>
> Cinyoung.
>