public void initialize() throws ODataUnmarshallingException {
  LOG.info("Parser is initializing");
  try {
    JsonParser jsonParser=JSON_FACTORY.createParser(inputJson);
    while (jsonParser.nextToken() != JsonToken.END_OBJECT) {
      String token=jsonParser.getCurrentName();
      if (token != null) {
        if (token.startsWith(ODATA)) {
          processSpecialTags(jsonParser);
        }
 else         if (token.endsWith(ODATA_BIND)) {
          processLinks(jsonParser);
        }
 else {
          process(jsonParser);
        }
      }
    }
  }
 catch (  IOException e) {
    throw new ODataUnmarshallingException("It is unable to unmarshall",e);
  }
}

public void initialize ( ) throws ODataUnmarshallingException { LOG . info ( "Parser is initializing" ) ; try { JsonParser jsonParser = JSON_FACTORY . createParser ( inputJson ) ; while ( jsonParser . nextToken ( ) != JsonToken . END_OBJECT ) { String token = jsonParser . getCurrentName ( ) ; if ( token != null ) { if ( token . startsWith ( ODATA ) ) { processSpecialTags ( jsonParser ) ; } else if ( token . endsWith ( ODATA_BIND ) ) { processLinks ( jsonParser ) ; } else { process ( jsonParser ) ; } } } } catch ( IOException e ) { throw new ODataUnmarshallingException ( "It is unable to unmarshall" , e ) ; } }
initialize processor , automatically scanning the input json .
