JSON Lib This is my practise with CUP/JFLEX tools. Parse Json string to Google Gson objects. build ant cup & jflex If you want reproduce scanner and parser, you can ant gen-java