Re: [jackson-user] How to handle empty Array XML to JSON

2019-02-14 Thread Tatu Saloranta
On Mon, Feb 4, 2019 at 6:05 PM Fhakruddin Mohamed wrote: > > Writerbasedgenerator.class > In case of of xml something like this gets converted to { > test result: [null] > } > This is not correct JSOn format. > Please help Jackson does not convert from XML to JSON or vice versa. You are doing so

Re: [jackson-user] How to handle empty Array XML to JSON

2019-02-05 Thread Fhakruddin Mohamed
Can you please reply to the query? Do we have any specification that talks about XML to JSON and JSON to XML conversion On Tue, Feb 5, 2019 at 7:34 AM Fhakruddin Mohamed < fhakruddin.moha...@gmail.com> wrote: > Writerbasedgenerator.class > In case of of xml something like this gets converted to

Re: [jackson-user] How to handle empty Array XML to JSON

2019-02-04 Thread Fhakruddin Mohamed
Writerbasedgenerator.class In case of of xml something like this gets converted to { test result: [null] } This is not correct JSOn format. Please help On Tue, Feb 5, 2019, 03:53 Tatu Saloranta On Fri, Feb 1, 2019 at 4:57 PM Fhakruddin Mohamed > wrote: > > > > { > > test: [] > > } > > > > Thi

Re: [jackson-user] How to handle empty Array XML to JSON

2019-02-04 Thread Tatu Saloranta
On Fri, Feb 1, 2019 at 4:57 PM Fhakruddin Mohamed wrote: > > { > test: [] > } > > This result is not achievable. > > Please advice. Unfortunately I do not quite understand what your problem is here. What are you trying to do? With what kind of code? -+ Tatu +- -- You received this message bec

[jackson-user] How to handle empty Array XML to JSON

2019-02-01 Thread Fhakruddin Mohamed
{ test: [] } This result is not achievable. Please advice. -- You received this message because you are subscribed to the Google Groups "jackson-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to jackson-user+unsubscr...@googlegroups.com. To post