JSON being a
data exchange and interchange format, this was designed for running in JavaScript on
websites. Serialization of JSON can be done in many of modern web programming
and developing languages like PHP, ASP.NET, PERL, Python etc. JSONpickle is a python library for serialization and
deserialization of complex python objects to and from JSON. Similarly ASP.NET,
PHP etc. has their own libraries and methods for deserialization of
data/objects in JSON.
Below is a basic example that is simple enough to explain about deserialization of JSON using PHP as a root language.
PHP Script
(deserialization.php)
No comments:
Post a Comment