Skip to content

JSON Format for Phone Primary Tags

wirru edited this page Jun 14, 2012 · 2 revisions

The following example shows the expected JSON format:

{ "tags" : [{
       "package" : "ohmage.org",
				"items" : [{
						"key" : "login",
						"value" : "ohmage.login"
				},{
						"key" : "classes",
						"value" : "class1, class2"
				},{
						"key" : "campaigns",
						"value" : "campaign1, campaign2"
				},{
						"key" : "servername",
						"value" : "ohmage.org"
				}]
},{
				"package" : "mobility.org",
				"items" : [{
						"key" : "frequency",
						"value" : "1 minute"
				},{
						"key" : "servername",
						"value" : "mobility.org"
				}]
}]}
Clone this wiki locally