axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shameera Rathnayaka <shameerai...@gmail.com>
Subject Re: Decouple Gson from XML Stream API base JSON approach
Date Sun, 07 Apr 2013 16:07:06 GMT
On Sun, Apr 7, 2013 at 12:48 PM, Sagara Gunathunga <
sagara.gunathunga@gmail.com> wrote:

>
>
> On Sat, Apr 6, 2013 at 1:23 PM, Shameera Rathnayaka <
> shameerainfo@gmail.com> wrote:
>
>> Hi devs,
>>
>> Currently newly added JSON XML Stream API base approach in trunk, tightly
>> couple with google-gson. I think it is good to have flexibility to use
>> other JSON Stream APIs(like Jakson) with this.
>>
>
>  Good point but IMHO we should use JSR 353 (Java API for JSON processing
> )  which being more or less finalized by now for above task.
>

+1 , Yes that would be good to use standard API,

Regards,
Shameera.

>
>  [1] - http://jcp.org/en/jsr/detail?id=353
>
> Thanks !
>
>
>>
>>  Here we can use factory method pattern to create JSON
>> XMLStreamReaders/writers . And we can provide an api to implement Gson,
>> Jakson or any other Json Stream support api to write the logic under that.
>>
>> we can provide Factory classes to create JSONXMLStreamReaders/Writers
>> with Gson or Jakson or other.
>>
>> Thoughts are welcome.
>>
>> --
>> Best Regards,
>> Shameera Rathnayaka.
>>
>> Blog : http://shameerarathnayaka.blogspot.com/
>>
>
>
>
> --
> Sagara Gunathunga
>
> Blog      - http://ssagara.blogspot.com
> Web      - http://people.apache.org/~sagara/
> LinkedIn - http://www.linkedin.com/in/ssagara




-- 
Best Regards,
Shameera Rathnayaka.

Blog : http://shameerarathnayaka.blogspot.com/

Mime
View raw message