Skip to content

Instantly share code, notes, and snippets.

@jfahrenkrug
Created September 8, 2009 14:01
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 jfahrenkrug/182929 to your computer and use it in GitHub Desktop.
Save jfahrenkrug/182929 to your computer and use it in GitHub Desktop.
@implementation DemoData : CPObject
+ (CPString)exampleJSONString {
var string = @"[{\"id\": 1, \"latitude\": \"39.099470\", \"longitude\": \"-94.563500\", \"description\": \"Corner of Twelfth and Vine\", \"transportation_kind\": \"\"}, {\"id\": 2, \"latitude\": \"37.802109\", \"longitude\": \"-122.432691\", \"description\": \"Moscone Center West\", \"transportation_kind\": \"S\"}]";
return string;
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment