return results;
}
private List<WareRef> doWareRefs( JsonNode pRefNode ) {
WareRef newRef = null;
int numRefs = pRefNode.size();
JsonNode node = null;
List<WareRef> wareRefs = new ArrayList<WareRef>();
for( int i=0; i < numRefs; i++ ) {
node = pRefNode.get( i );
newRef = new WareRef();
newRef.setId( node.path("id").getTextValue() );
newRef.setSlug( node.path("slug").getTextValue() );
newRef.setName( node.path("name").getTextValue() );
newRef.setPrice( node.path("price").getDoubleValue() );
newRef.setType( node.path("type").getTextValue() );
newRef.setTurnAroundTime( doStringMap( node.path( "turn_around_time" )));
newRef.setSnippet( node.path("snippet").getTextValue() );
newRef.setProviderIds( doArray( node.path( "provider_ids" )));
newRef.setProviderNames( doArray( node.path( "provider_names" )));
newRef.setScore( node.path( "score" ).getDoubleValue());
newRef.setUrls( doStringMap( node.path( "urls" ) ));
wareRefs.add( newRef );
}
return wareRefs;
}