A comparison of JSON libraries for PHP, RELOADED

I have updated the article comparing the different php libraries that allow encoding/decoding of JSON data.
Besides testing the latest version of all the libraries involved and briefly summarizing the evolution since the november test, he new page has benchmark results for php 4.4.

Here it is.

Enjoy.

One thought on “A comparison of JSON libraries for PHP, RELOADED”

  1. A blog post similar in intent to my analysis but oriented to python is available at: http://blog.hill-street.net/?p=7

    It is interesting to note that the authors chose a methodology very similar to my own, i.e. to benchmark the various toolkits both for speed and for edge cases.

    An interesting tip to get the “best of both worlds” (speed and completeness of conversion): use the fastest decoder first, and if it fails, try to use the slower-but-more-tolerant one. For the belt-and-suspenders kind of coders, I suppose…

Leave a Reply

Your email address will not be published. Required fields are marked *


Warning: Declaration of sk2_captcha_plugin::output_plugin_UI() should be compatible with sk2_plugin::output_plugin_UI($output_dls = true) in /membri2/gggeek/wp-content/plugins/SK2/sk2_plugins/sk2_captcha_plugin.php on line 84

Warning: Declaration of sk2_referrer_check_plugin::output_plugin_UI() should be compatible with sk2_plugin::output_plugin_UI($output_dls = true) in /membri2/gggeek/wp-content/plugins/SK2/sk2_plugins/sk2_referrer_check_plugin.php on line 92

Warning: Declaration of sk2_pjw_simpledigest::output_plugin_UI() should be compatible with sk2_plugin::output_plugin_UI($output_dls = true) in /membri2/gggeek/wp-content/plugins/SK2/sk2_plugins/sk2_pjw_daily_digest_plugin.php on line 277

Warning: Declaration of sk2_rbl_plugin::treat_this($cmt_object) should be compatible with sk2_plugin::treat_this(&$cmt_object) in /membri2/gggeek/wp-content/plugins/SK2/sk2_plugins/sk2_rbl_plugin.php on line 342