Re: [UPDATE] Remove org.json dependency

2017-05-29 Thread Jean-Baptiste Onofré
I'm using the one from Felix Utils, which are equivalent to org.json we used 
before (very few changes in the code).


I gonna push the change (already done).

Regards
JB

On 05/29/2017 11:28 AM, Guillaume Nodet wrote:

Fwiw, we do have a very simple json reader / writer in our code:

https://github.com/apache/karaf/tree/master/features/core/src/main/java/org/apache/karaf/features/internal/util

2017-05-25 15:38 GMT+02:00 Jean-Baptiste Onofré :


Hi,

Chris Mattmann (new Legal VP) sent a reminder about json dependency use:

---
As the new Legal VP, I am reminding everyone that the
grandfather exception for the JSON License and Apache projects
ended last month. As sent by Jim (our prior Legal VP) the relevant
text is below and I want to highlight the following statement:

If you have been using it, and have done so in a *release*, AND there has
been NO pushback from your community/eco-system, you have a temporary
exclusion from the Cat-X classification thru April 30, 2017. At that point
in time,

ANY and ALL usage of these JSON licensed artifacts are DISALLOWED.
---

We are using json (org.json/json) in the WebConsole. I created KARAF-5148
to track this and I'm evaluating different alternatives.

Regards
JB
--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com







--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: [UPDATE] Remove org.json dependency

2017-05-25 Thread James Carman
I'm also cool with "dog-fooding" Apache Johnzon.  I just have a lot of
experience with GSON and have found it to be a breeze to work with (that's
why I use it in Microbule by default).


On Thu, May 25, 2017 at 12:56 PM Achim Nierbeck 
wrote:

> I'm not a friend of re-inventing the wheel a thousand time.
> Only use it if it really really matches.
> If it doesn't match our use-case, we should use johnzon
>
> regards, Achim
>
>
> 2017-05-25 18:50 GMT+02:00 Jean-Baptiste Onofré :
>
> > My preference for now is on the tiny Felix JSON parser (lighter than
> > johnzon).
> >
> > Regards
> > JB
> >
> >
> > On 05/25/2017 06:26 PM, Achim Nierbeck wrote:
> >
> >> hmm ... we do have a JSON Apache Library, before we A) start our own, we
> >> should B) prefer it over any other non-apache library.
> >> That would be apache johnzon ;)
> >>
> >> regards, Achim
> >>
> >>
> >> 2017-05-25 16:22 GMT+02:00 Jean-Baptiste Onofré :
> >>
> >> I'm evaluating GSON and the Felix "parser".
> >>>
> >>> Regards
> >>> JB
> >>>
> >>>
> >>> On 05/25/2017 04:18 PM, Matt Sicker wrote:
> >>>
> >>>   From what I understand, this only applies to the org.json dependency.
>  Most
>  people tend to use Jackson or Gson in my experience which are
>  appropriately
>  licensed.
> 
>  On 25 May 2017 at 08:41, Jean-Baptiste Onofré 
> wrote:
> 
>  Yeah, but we are using json for our "webconsole plugins". So, I'm
>  changing
> 
> > in our plugins.
> >
> > Regards
> > JB
> >
> >
> > On 05/25/2017 03:39 PM, Achim Nierbeck wrote:
> >
> > Hi JB,
> >
> >>
> >> I thought the felix team did some effort in replacing all that json
> >> stuff
> >> with internal handling.
> >> We should just update to the latest then ...
> >>
> >> regards, Achim
> >>
> >>
> >> 2017-05-25 15:38 GMT+02:00 Jean-Baptiste Onofré :
> >>
> >> Hi,
> >>
> >>
> >>> Chris Mattmann (new Legal VP) sent a reminder about json dependency
> >>> use:
> >>>
> >>> ---
> >>> As the new Legal VP, I am reminding everyone that the
> >>> grandfather exception for the JSON License and Apache projects
> >>> ended last month. As sent by Jim (our prior Legal VP) the relevant
> >>> text is below and I want to highlight the following statement:
> >>>
> >>> If you have been using it, and have done so in a *release*, AND
> there
> >>> has
> >>> been NO pushback from your community/eco-system, you have a
> temporary
> >>> exclusion from the Cat-X classification thru April 30, 2017. At
> that
> >>> point
> >>> in time,
> >>>
> >>> ANY and ALL usage of these JSON licensed artifacts are DISALLOWED.
> >>> ---
> >>>
> >>> We are using json (org.json/json) in the WebConsole. I created
> >>> KARAF-5148
> >>> to track this and I'm evaluating different alternatives.
> >>>
> >>> Regards
> >>> JB
> >>> --
> >>> Jean-Baptiste Onofré
> >>> jbono...@apache.org
> >>> http://blog.nanthrax.net
> >>> Talend - http://www.talend.com
> >>>
> >>>
> >>>
> >>>
> >>
> >> --
> >>
> > Jean-Baptiste Onofré
> > jbono...@apache.org
> > http://blog.nanthrax.net
> > Talend - http://www.talend.com
> >
> >
> >
> 
> 
>  --
> >>> Jean-Baptiste Onofré
> >>> jbono...@apache.org
> >>> http://blog.nanthrax.net
> >>> Talend - http://www.talend.com
> >>>
> >>>
> >>
> >>
> >>
> > --
> > Jean-Baptiste Onofré
> > jbono...@apache.org
> > http://blog.nanthrax.net
> > Talend - http://www.talend.com
> >
>
>
>
> --
>
> Apache Member
> Apache Karaf  Committer & PMC
> OPS4J Pax Web  Committer &
> Project Lead
> blog 
> Co-Author of Apache Karaf Cookbook 
>
> Software Architect / Project Manager / Scrum Master
>


Re: [UPDATE] Remove org.json dependency

2017-05-25 Thread Jean-Baptiste Onofré
Agree, however the Felix parser has been done exactly for our needs: the same as 
the Felix WebConsole plugins ;)


Regards
JB

On 05/25/2017 06:56 PM, Achim Nierbeck wrote:

I'm not a friend of re-inventing the wheel a thousand time.
Only use it if it really really matches.
If it doesn't match our use-case, we should use johnzon

regards, Achim


2017-05-25 18:50 GMT+02:00 Jean-Baptiste Onofré :


My preference for now is on the tiny Felix JSON parser (lighter than
johnzon).

Regards
JB


On 05/25/2017 06:26 PM, Achim Nierbeck wrote:


hmm ... we do have a JSON Apache Library, before we A) start our own, we
should B) prefer it over any other non-apache library.
That would be apache johnzon ;)

regards, Achim


2017-05-25 16:22 GMT+02:00 Jean-Baptiste Onofré :

I'm evaluating GSON and the Felix "parser".


Regards
JB


On 05/25/2017 04:18 PM, Matt Sicker wrote:

   From what I understand, this only applies to the org.json dependency.

Most
people tend to use Jackson or Gson in my experience which are
appropriately
licensed.

On 25 May 2017 at 08:41, Jean-Baptiste Onofré  wrote:

Yeah, but we are using json for our "webconsole plugins". So, I'm
changing


in our plugins.

Regards
JB


On 05/25/2017 03:39 PM, Achim Nierbeck wrote:

Hi JB,



I thought the felix team did some effort in replacing all that json
stuff
with internal handling.
We should just update to the latest then ...

regards, Achim


2017-05-25 15:38 GMT+02:00 Jean-Baptiste Onofré :

Hi,



Chris Mattmann (new Legal VP) sent a reminder about json dependency
use:

---
As the new Legal VP, I am reminding everyone that the
grandfather exception for the JSON License and Apache projects
ended last month. As sent by Jim (our prior Legal VP) the relevant
text is below and I want to highlight the following statement:

If you have been using it, and have done so in a *release*, AND there
has
been NO pushback from your community/eco-system, you have a temporary
exclusion from the Cat-X classification thru April 30, 2017. At that
point
in time,

ANY and ALL usage of these JSON licensed artifacts are DISALLOWED.
---

We are using json (org.json/json) in the WebConsole. I created
KARAF-5148
to track this and I'm evaluating different alternatives.

Regards
JB
--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com






--


Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com






--

Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com







--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com







--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: [UPDATE] Remove org.json dependency

2017-05-25 Thread Jean-Baptiste Onofré

My preference for now is on the tiny Felix JSON parser (lighter than johnzon).

Regards
JB

On 05/25/2017 06:26 PM, Achim Nierbeck wrote:

hmm ... we do have a JSON Apache Library, before we A) start our own, we
should B) prefer it over any other non-apache library.
That would be apache johnzon ;)

regards, Achim


2017-05-25 16:22 GMT+02:00 Jean-Baptiste Onofré :


I'm evaluating GSON and the Felix "parser".

Regards
JB


On 05/25/2017 04:18 PM, Matt Sicker wrote:


  From what I understand, this only applies to the org.json dependency.
Most
people tend to use Jackson or Gson in my experience which are
appropriately
licensed.

On 25 May 2017 at 08:41, Jean-Baptiste Onofré  wrote:

Yeah, but we are using json for our "webconsole plugins". So, I'm changing

in our plugins.

Regards
JB


On 05/25/2017 03:39 PM, Achim Nierbeck wrote:

Hi JB,


I thought the felix team did some effort in replacing all that json
stuff
with internal handling.
We should just update to the latest then ...

regards, Achim


2017-05-25 15:38 GMT+02:00 Jean-Baptiste Onofré :

Hi,



Chris Mattmann (new Legal VP) sent a reminder about json dependency
use:

---
As the new Legal VP, I am reminding everyone that the
grandfather exception for the JSON License and Apache projects
ended last month. As sent by Jim (our prior Legal VP) the relevant
text is below and I want to highlight the following statement:

If you have been using it, and have done so in a *release*, AND there
has
been NO pushback from your community/eco-system, you have a temporary
exclusion from the Cat-X classification thru April 30, 2017. At that
point
in time,

ANY and ALL usage of these JSON licensed artifacts are DISALLOWED.
---

We are using json (org.json/json) in the WebConsole. I created
KARAF-5148
to track this and I'm evaluating different alternatives.

Regards
JB
--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com






--

Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com







--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com







--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: [UPDATE] Remove org.json dependency

2017-05-25 Thread Achim Nierbeck
hmm ... we do have a JSON Apache Library, before we A) start our own, we
should B) prefer it over any other non-apache library.
That would be apache johnzon ;)

regards, Achim


2017-05-25 16:22 GMT+02:00 Jean-Baptiste Onofré :

> I'm evaluating GSON and the Felix "parser".
>
> Regards
> JB
>
>
> On 05/25/2017 04:18 PM, Matt Sicker wrote:
>
>>  From what I understand, this only applies to the org.json dependency.
>> Most
>> people tend to use Jackson or Gson in my experience which are
>> appropriately
>> licensed.
>>
>> On 25 May 2017 at 08:41, Jean-Baptiste Onofré  wrote:
>>
>> Yeah, but we are using json for our "webconsole plugins". So, I'm changing
>>> in our plugins.
>>>
>>> Regards
>>> JB
>>>
>>>
>>> On 05/25/2017 03:39 PM, Achim Nierbeck wrote:
>>>
>>> Hi JB,

 I thought the felix team did some effort in replacing all that json
 stuff
 with internal handling.
 We should just update to the latest then ...

 regards, Achim


 2017-05-25 15:38 GMT+02:00 Jean-Baptiste Onofré :

 Hi,

>
> Chris Mattmann (new Legal VP) sent a reminder about json dependency
> use:
>
> ---
> As the new Legal VP, I am reminding everyone that the
> grandfather exception for the JSON License and Apache projects
> ended last month. As sent by Jim (our prior Legal VP) the relevant
> text is below and I want to highlight the following statement:
>
> If you have been using it, and have done so in a *release*, AND there
> has
> been NO pushback from your community/eco-system, you have a temporary
> exclusion from the Cat-X classification thru April 30, 2017. At that
> point
> in time,
>
> ANY and ALL usage of these JSON licensed artifacts are DISALLOWED.
> ---
>
> We are using json (org.json/json) in the WebConsole. I created
> KARAF-5148
> to track this and I'm evaluating different alternatives.
>
> Regards
> JB
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
>
>


 --
>>> Jean-Baptiste Onofré
>>> jbono...@apache.org
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>>
>>
>>
>>
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>



-- 

Apache Member
Apache Karaf  Committer & PMC
OPS4J Pax Web  Committer &
Project Lead
blog 
Co-Author of Apache Karaf Cookbook 

Software Architect / Project Manager / Scrum Master


Re: [UPDATE] Remove org.json dependency

2017-05-25 Thread James Carman
+1 for GSON.
On Thu, May 25, 2017 at 10:18 AM Matt Sicker  wrote:

> From what I understand, this only applies to the org.json dependency. Most
> people tend to use Jackson or Gson in my experience which are appropriately
> licensed.
>
> On 25 May 2017 at 08:41, Jean-Baptiste Onofré  wrote:
>
> > Yeah, but we are using json for our "webconsole plugins". So, I'm
> changing
> > in our plugins.
> >
> > Regards
> > JB
> >
> >
> > On 05/25/2017 03:39 PM, Achim Nierbeck wrote:
> >
> >> Hi JB,
> >>
> >> I thought the felix team did some effort in replacing all that json
> stuff
> >> with internal handling.
> >> We should just update to the latest then ...
> >>
> >> regards, Achim
> >>
> >>
> >> 2017-05-25 15:38 GMT+02:00 Jean-Baptiste Onofré :
> >>
> >> Hi,
> >>>
> >>> Chris Mattmann (new Legal VP) sent a reminder about json dependency
> use:
> >>>
> >>> ---
> >>> As the new Legal VP, I am reminding everyone that the
> >>> grandfather exception for the JSON License and Apache projects
> >>> ended last month. As sent by Jim (our prior Legal VP) the relevant
> >>> text is below and I want to highlight the following statement:
> >>>
> >>> If you have been using it, and have done so in a *release*, AND there
> has
> >>> been NO pushback from your community/eco-system, you have a temporary
> >>> exclusion from the Cat-X classification thru April 30, 2017. At that
> >>> point
> >>> in time,
> >>>
> >>> ANY and ALL usage of these JSON licensed artifacts are DISALLOWED.
> >>> ---
> >>>
> >>> We are using json (org.json/json) in the WebConsole. I created
> KARAF-5148
> >>> to track this and I'm evaluating different alternatives.
> >>>
> >>> Regards
> >>> JB
> >>> --
> >>> Jean-Baptiste Onofré
> >>> jbono...@apache.org
> >>> http://blog.nanthrax.net
> >>> Talend - http://www.talend.com
> >>>
> >>>
> >>
> >>
> >>
> > --
> > Jean-Baptiste Onofré
> > jbono...@apache.org
> > http://blog.nanthrax.net
> > Talend - http://www.talend.com
> >
>
>
>
> --
> Matt Sicker 
>


Re: [UPDATE] Remove org.json dependency

2017-05-25 Thread Matt Sicker
>From what I understand, this only applies to the org.json dependency. Most
people tend to use Jackson or Gson in my experience which are appropriately
licensed.

On 25 May 2017 at 08:41, Jean-Baptiste Onofré  wrote:

> Yeah, but we are using json for our "webconsole plugins". So, I'm changing
> in our plugins.
>
> Regards
> JB
>
>
> On 05/25/2017 03:39 PM, Achim Nierbeck wrote:
>
>> Hi JB,
>>
>> I thought the felix team did some effort in replacing all that json stuff
>> with internal handling.
>> We should just update to the latest then ...
>>
>> regards, Achim
>>
>>
>> 2017-05-25 15:38 GMT+02:00 Jean-Baptiste Onofré :
>>
>> Hi,
>>>
>>> Chris Mattmann (new Legal VP) sent a reminder about json dependency use:
>>>
>>> ---
>>> As the new Legal VP, I am reminding everyone that the
>>> grandfather exception for the JSON License and Apache projects
>>> ended last month. As sent by Jim (our prior Legal VP) the relevant
>>> text is below and I want to highlight the following statement:
>>>
>>> If you have been using it, and have done so in a *release*, AND there has
>>> been NO pushback from your community/eco-system, you have a temporary
>>> exclusion from the Cat-X classification thru April 30, 2017. At that
>>> point
>>> in time,
>>>
>>> ANY and ALL usage of these JSON licensed artifacts are DISALLOWED.
>>> ---
>>>
>>> We are using json (org.json/json) in the WebConsole. I created KARAF-5148
>>> to track this and I'm evaluating different alternatives.
>>>
>>> Regards
>>> JB
>>> --
>>> Jean-Baptiste Onofré
>>> jbono...@apache.org
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>>
>>
>>
>>
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>



-- 
Matt Sicker 


Re: [UPDATE] Remove org.json dependency

2017-05-25 Thread Jean-Baptiste Onofré
Yeah, but we are using json for our "webconsole plugins". So, I'm changing in 
our plugins.


Regards
JB

On 05/25/2017 03:39 PM, Achim Nierbeck wrote:

Hi JB,

I thought the felix team did some effort in replacing all that json stuff
with internal handling.
We should just update to the latest then ...

regards, Achim


2017-05-25 15:38 GMT+02:00 Jean-Baptiste Onofré :


Hi,

Chris Mattmann (new Legal VP) sent a reminder about json dependency use:

---
As the new Legal VP, I am reminding everyone that the
grandfather exception for the JSON License and Apache projects
ended last month. As sent by Jim (our prior Legal VP) the relevant
text is below and I want to highlight the following statement:

If you have been using it, and have done so in a *release*, AND there has
been NO pushback from your community/eco-system, you have a temporary
exclusion from the Cat-X classification thru April 30, 2017. At that point
in time,

ANY and ALL usage of these JSON licensed artifacts are DISALLOWED.
---

We are using json (org.json/json) in the WebConsole. I created KARAF-5148
to track this and I'm evaluating different alternatives.

Regards
JB
--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com







--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: [UPDATE] Remove org.json dependency

2017-05-25 Thread Achim Nierbeck
Hi JB,

I thought the felix team did some effort in replacing all that json stuff
with internal handling.
We should just update to the latest then ...

regards, Achim


2017-05-25 15:38 GMT+02:00 Jean-Baptiste Onofré :

> Hi,
>
> Chris Mattmann (new Legal VP) sent a reminder about json dependency use:
>
> ---
> As the new Legal VP, I am reminding everyone that the
> grandfather exception for the JSON License and Apache projects
> ended last month. As sent by Jim (our prior Legal VP) the relevant
> text is below and I want to highlight the following statement:
>
> If you have been using it, and have done so in a *release*, AND there has
> been NO pushback from your community/eco-system, you have a temporary
> exclusion from the Cat-X classification thru April 30, 2017. At that point
> in time,
>
> ANY and ALL usage of these JSON licensed artifacts are DISALLOWED.
> ---
>
> We are using json (org.json/json) in the WebConsole. I created KARAF-5148
> to track this and I'm evaluating different alternatives.
>
> Regards
> JB
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>



-- 

Apache Member
Apache Karaf  Committer & PMC
OPS4J Pax Web  Committer &
Project Lead
blog 
Co-Author of Apache Karaf Cookbook 

Software Architect / Project Manager / Scrum Master


[UPDATE] Remove org.json dependency

2017-05-25 Thread Jean-Baptiste Onofré

Hi,

Chris Mattmann (new Legal VP) sent a reminder about json dependency use:

---
As the new Legal VP, I am reminding everyone that the
grandfather exception for the JSON License and Apache projects
ended last month. As sent by Jim (our prior Legal VP) the relevant
text is below and I want to highlight the following statement:

If you have been using it, and have done so in a *release*, AND there has
been NO pushback from your community/eco-system, you have a temporary
exclusion from the Cat-X classification thru April 30, 2017. At that point in 
time,

ANY and ALL usage of these JSON licensed artifacts are DISALLOWED.
---

We are using json (org.json/json) in the WebConsole. I created KARAF-5148 to 
track this and I'm evaluating different alternatives.


Regards
JB
--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com