private void parseElement ( final String elementName , final boolean inArray ) throws Exception { JsonToken currentToken = jsonParser . getCurrentToken ( ) ; if ( inArray ) { startElement ( elementName ) ; } if ( START_OBJECT . equals ( currentToken ) ) { parseObject ( ) ; } else if ( START_ARRAY . equals ( currentToken ) ) { parseArray ( elementName ) ; } else if ( currentToken . isScalarValue ( ) ) { parseValue ( ) ; } if ( inArray ) { endElement ( elementName ) ; } }
Pares JSON element .