I am using jQuery Autocomplete, and when I select a record from the autocomplete results, it returns this as JSON:
{
"label": "123 Fakeville St",
"Address": "123 Fakeville St",
"YOC": 1994,
"value": "123 Fakeville St"
}
Is there a way I can reformat it so it looks like this?
{
"house": {
"properties": {
"label": "123 Fakeville St",
"Address": "123 Fakeville St",
"YOC": 1994,
"value": "123 Fakeville St"
}
}
}