WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #16669, comment 3


Ignore:
Timestamp:
02/27/11 21:04:33 (5 years ago)
Author:
niallkennedy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16669, comment 3

    initial v1  
    77 * [https://developer.mozilla.org/En/Using_JSON_in_Firefox Using Native JSON in the Mozilla Developer Center]. 
    88 
    9 JavaScript executes on the client-side; it is separate from PHP functions [http://www.php.net/manual/en/function.json-decode.php json_decode] and [http://www.php.net/manual/en/function.json-encode.php json_encode]. 
     9JavaScript executes on the client-side; it is separate from server-side PHP functions [http://www.php.net/manual/en/function.json-decode.php json_decode] and [http://www.php.net/manual/en/function.json-encode.php json_encode]. A widget may want to retrieve JSON from a remote server and interpret the results, all via JavaScript without affecting the page cache. I might also care about a request carrying cookie data (e.g. Facebook, Twitter) for the requested domain or add data to the page that has changed since the initial page load (e.g. 2 new comments). 
    1010 
    1111|| '''Language''' || '''string to object''' || '''object to string''' ||