I have JSON -
{"First name": "John", "Contact": "2323",...}
with arbitrary number of key/value pairs. My $.ajax
-function sends JSON to a php script. The PHP script must revert JSON and back to jQuery.
{"John": "First name", "2323": "Contact",...}
PHP code for this iteration and jQuery handling code for response?