public static CategoryJsonUnmarshaller getInstance() { if (instance == null) instance = new CategoryJsonUnmarshaller(); return instance; } }
service.setCategories(new ListUnmarshaller<Category>(CategoryJsonUnmarshaller.getInstance()).unmarshall(context));
service.setCategories(new ListUnmarshaller<Category>(CategoryJsonUnmarshaller.getInstance()).unmarshall(context));
public static CategoryJsonUnmarshaller getInstance() { if (instance == null) instance = new CategoryJsonUnmarshaller(); return instance; } }