Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Pretz
Created April 8, 2011 00:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Pretz/909065 to your computer and use it in GitHub Desktop.
Save Pretz/909065 to your computer and use it in GitHub Desktop.
Parcelgen description for a Yelp API Business
{
"do_json": true,
"package": "com.yelp.parcelgen",
"props": {
"String": [
"id", "name", "imageUrl", "url", "mobileUrl",
"phone", "displayPhone", "ratingImageUrl",
"ratingImageUrlSmall", "snippetText", "snippetImageUrl"
],
"int": ["reviewCount"],
"double": ["distance"],
"Location": ["location"]
},
"json_map": {
"ratingImageUrl": "rating_img_url",
"ratingImageUrlSmall": "rating_img_url_small"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment