Skip to content

Instantly share code, notes, and snippets.

@wulfgarpro
Created September 30, 2011 06:09
Show Gist options
  • Save wulfgarpro/1252834 to your computer and use it in GitHub Desktop.
Save wulfgarpro/1252834 to your computer and use it in GitHub Desktop.
sample json
{"user":"system-user","synapseVersion":"2.2.3","mapping":"{\"fieldMapperStore\":[{\"userFieldName\":\"name\",\"synapseTypeName\":\"O4.PersonName\",\"synapseFieldName\":\"Name\",\"displayName\":\"Name\",\"fieldMinimumValue\":5e-324,\"fieldMaximumValue\":1.7976931348623157e+308},{\"userFieldName\":\"age\",\"synapseTypeName\":\"O4.Integer\",\"synapseFieldName\":\"Age\",\"displayName\":\"Age\",\"fieldMinimumValue\":5e-324,\"fieldMaximumValue\":1.7976931348623157e+308},{\"userFieldName\":\"loc\",\"synapseTypeName\":\"O4.CompoundProperty\",\"synapseFieldName\":\"Location\",\"displayName\":\"Location\",\"fieldMinimumValue\":5e-324,\"fieldMaximumValue\":1.7976931348623157e+308,\"miscellaneousInfo\":{\"fieldMapperStore\":[{\"userFieldName\":\"address\",\"synapseTypeName\":\"O4.String\",\"synapseFieldName\":\"Address\",\"displayName\":\"Address\",\"fieldMinimumValue\":5e-324,\"fieldMaximumValue\":1.7976931348623157e+308},{\"userFieldName\":\"zip\",\"synapseTypeName\":\"O4.Integer\",\"synapseFieldName\":\"Zip\",\"displayName\":\"Zip\",\"fieldMinimumValue\":5e-324,\"fieldMaximumValue\":1.7976931348623157e+308}],\"mapperName\":\"Location\"}}],\"mapperName\":\"Person\"}","data":"{\"id\":\"1\",\"aggregations\":{},\"isActive\":true,\"name\":\"1\",\"records\":{\"1317358285154-0\":{\"encoding\":{},\"fields\":{\"Name\":{\"fieldName\":\"Name\",\"indexed\":false,\"typeName\":\"O4.PersonName\",\"value\":\"pete\"},\"Age\":{\"fieldName\":\"Age\",\"indexed\":false,\"typeName\":\"O4.Integer\",\"value\":20},\"Location\":{\"fieldName\":\"Location\",\"indexed\":false,\"typeName\":\"O4.CompoundProperty\",\"fields\":{\"Address\":{\"fieldName\":\"Location.Address\",\"indexed\":false,\"typeName\":\"O4.String\",\"value\":\"china town\"},\"Zip\":{\"fieldName\":\"Location.Zip\",\"indexed\":false,\"typeName\":\"O4.Integer\",\"value\":3417}}}},\"hidden\":false,\"id\":\"1317358285154-0\",\"selected\":true,\"type\":\"Person\"}}}"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment