Tag Archives: serialize

Serializing and deserializing JSON with JavaScript

This example is similar to the┬áSerializing and deserializing JSON with PHP example. JavaScript is used instead of PHP.┬áDouglas Crockford’s JSON library has been used for serializing and deserializing JSON in JavaScript.

Posted in JavaScript | Also tagged , , , , , , | Leave a comment

Serializing and deserializing JSON with PHP

JSON (JavaScript Object Notation) is a standard for interchanging data. You might want to use for serializing and deserializing form input. This example uses the built-in functions of PHP5 for serializing and deserializing a multidimensional array.

Posted in PHP | Also tagged , , , , , , , , , , | Leave a comment