Package org.teiid.google.dataprotocol
Class GoogleJSONParser
- java.lang.Object
-
- org.teiid.google.dataprotocol.GoogleJSONParser
-
public class GoogleJSONParser extends Object
Parsing google json is a little non-standard. They assume a js binding, so array syntax, strings, and date are used. This parser supports most of the customizations except for unquoted dictionary keys. Assumes all numbers are properly represented by Double.
-
-
Constructor Summary
Constructors Constructor Description GoogleJSONParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
parseObject(Reader r, boolean wrapped)
void
setCalendar(Calendar cal)
-
-
-
Method Detail
-
parseObject
public Object parseObject(Reader r, boolean wrapped) throws IOException
- Throws:
IOException
-
setCalendar
public void setCalendar(Calendar cal)
-
-