* @param results
* @throws JsonParseException
* @throws IOException
*/
private void parseProviderRefs( JsonParser jp, Results results ) throws JsonParseException, IOException {
ProviderRef pRef = null;
String fieldName = null;
while (jp.nextToken() != JsonToken.END_ARRAY ) {
pRef = new ProviderRef();
pRef.setLocations( new ArrayList<Map<String,String>>() );
while (jp.nextToken() != JsonToken.END_OBJECT ) {
fieldName = jp.getCurrentName();
if( "id".equals( fieldName )) {
pRef.setId( jp.getText() );
} else if( "slug".equals( fieldName )) {
pRef.setSlug( jp.getText() );
} else if( "name".equals( fieldName )) {
pRef.setName( jp.getText() );
} else if( "snippet".equals( fieldName )) {
pRef.setSnippet( jp.getText() );
} else if( "permission".equals( fieldName )) {
pRef.setPermission( jp.getText() );
} else if( "score".equals( fieldName )) {
// pRef.setScore( jp.getFloatValue() );
} else if( "locations".equals( fieldName )) {
getLocations( jp, pRef );
} else if( "urls".equals( fieldName )) {