Re: [jackson-user] Throws when an array of array is parsed

2019-02-01 Thread Tatu Saloranta
On Fri, Feb 1, 2019 at 4:57 PM Ashwin Asp wrote: > > Hello I am trying to parse the below array that contains array of objects. > > public class JsonParser { > public JsonParser() { > > String jsonString = > "[[{\"distance\":2272,\"duration\":580},{\"distance\":7217,\"duration\":1393},{\"di

[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

[jackson-user] Throws when an array of array is parsed

2019-02-01 Thread Ashwin Asp
Hello I am trying to parse the below array that contains array of objects. public class JsonParser { public JsonParser() { String jsonString = "[[{\"distance\":2272,\"duration\":580},{\"distance\":7217,\"duration\":1393},{\"distance\":5773,\"duration\":1061},{\"distance\":6208,\"duration\":1