How to get List<Long> from json string using FlexJson Json serializer in Java?

Posted by alexn on Stack Overflow See other posts from Stack Overflow or by alexn
Published on 2010-04-02T11:34:29Z Indexed on 2010/04/02 11:53 UTC
Read the original article Hit count: 420

Filed under:
String episodeIds = "['abc', '123', '456']";
     List<Long> list = new JSONDeserializer<ArrayList<Long>>().use(null, ArrayList.class).deserialize(episodeIds);
     System.out.println(list);

© Stack Overflow or respective owner

Related posts about java