On Sat, Apr 6, 2013 at 1:23 PM, Shameera Rathnayaka <[email protected]>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] - 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
