Does anyone have any sample code to create a JSON payload to be sent as a HTTP POST Request in Objective-C? An example of the json payload I am looking to generate looks like: {__metadata:{\"Uri\":\"/NewLoc/\", \"Type\":\"Location.NewLoc\"}, \"LocID\":\"100006\", \"latitude\": \"40.123456\", \"longitude\": \"-65.876543\", \"VisitDate\": \"\/Date(1249909200000)\/\", \"type\": \"S\"}
I am using the the json-framework downloaded from: http://code.google.com/p/json-framework/
Any sample code would be greatly appreciated.