JSON extension to be bundled into the PHP core?

January 26, 2006

Rasmus made a posting on the php internals list regarding rolling Omar Kilani's JSON Extension which serializes/deserializes datatypes into Javascript Object Notation and vice versa. Since this is done in C space is MUCH faster (85 times from Omar's perf testing) than the existing PHP JSON classes. http://www.aurore.net/projects/php-json/

I see JSON becoming the dominant player in the AJAX world in the upcoming future. It's ease of entry, especially if bundled with PHP will make it a no brainer for AJAX or AJAJ applications.

"From: Rasmus Lerdorf
To: internals@lists.php.net
CC: omar@rmilk.com
Subject: [PHP-DEV] JSON inclusion in core
Date: Fri, 20 Jan 2006 11:31:58 -0800

pecl/json is a rather simple extension with no external deps (it bundles the small library it uses). The JSON format is stable with no real possibility of changing basically by definition, and I see its use exploding this year. There is also talk to a JSON Request object being added to browsers and if that happens we need to support that natively much like we support url-encoded form data ending up directly in $_POST. I could see a $_JSON if browsers start sending this. But, as an initial step how about we bundle pecl/json in the next release?

There is an issue with the fact that it is LGPL'ed. But perhaps we can work with Omar to put at least the extension part under the PHP license when bundled with PHP.

-Rasmus"

Comments

RSS feed for comments on this post.

  1. Paul Yanchenko says:
    January 30, 2006 @ 18:57 — Reply

    I think super-global array $_JSON is a bad idea, because it allows only single instance. It is not $_GET or $_POST which are always single per request. Also, $_SESSION was bad idea too, when we need 2 separated sessions (for example with different cookie params) - we cant use PHP integrated session solution. So please, do not repeat old mistakes.

  2. gucci handbags replica says:
    January 29, 2010 @ 22:28 — Reply

    Comment pending moderation

  3. Realestate townsville says:
    June 24, 2010 @ 19:04 — Reply

    Comment pending moderation

  4. blu ray ripper says:
    April 18, 2010 @ 06:29 — Reply

    Comment pending moderation

  5. World Cup Betting says:
    May 4, 2010 @ 12:09 — Reply

    Comment pending moderation

  6. compare insurance quotes says:
    May 18, 2010 @ 11:13 — Reply

    Comment pending moderation

  7. 642-067 says:
    May 19, 2010 @ 00:22 — Reply

    Comment pending moderation

  8. sonnerie portable gratuit says:
    May 25, 2010 @ 19:48 — Reply

    Comment pending moderation

  9. virtual assistant says:
    May 28, 2010 @ 08:27 — Reply

    Comment pending moderation

  10. Watch free Movies Online says:
    May 29, 2010 @ 05:38 — Reply

    Comment pending moderation

  11. chaga says:
    May 30, 2010 @ 21:31 — Reply

    Comment pending moderation

  12. cook county jail inmate search says:
    June 2, 2010 @ 05:44 — Reply

    Comment pending moderation

  13. Stromlieferant Bremen says:
    June 7, 2010 @ 05:04 — Reply

    Comment pending moderation

  14. LOUIS VUIttON Outlet says:
    June 9, 2010 @ 23:03 — Reply

    Comment pending moderation

  15. men's pendant says:
    June 11, 2010 @ 20:26 — Reply

    Comment pending moderation

  16. E20-322 says:
    June 12, 2010 @ 02:03 — Reply

    Comment pending moderation

  17. five finger shoes says:
    June 14, 2010 @ 00:33 — Reply

    Comment pending moderation

  18. Bistro MD Reviews says:
    June 14, 2010 @ 07:54 — Reply

    Comment pending moderation

  19. nike dunks says:
    June 15, 2010 @ 00:44 — Reply

    Comment pending moderation

  20. surpa shoes says:
    June 15, 2010 @ 00:45 — Reply

    Comment pending moderation

  21. asics shoes says:
    June 15, 2010 @ 00:46 — Reply

    Comment pending moderation

  22. vibram five fingers says:
    June 15, 2010 @ 02:07 — Reply

    Comment pending moderation

  23. Debt Solutions says:
    June 15, 2010 @ 05:58 — Reply

    Comment pending moderation

  24. ed hardy says:
    June 17, 2010 @ 02:54 — Reply

    Comment pending moderation

  25. ed hardy hats says:
    June 17, 2010 @ 02:57 — Reply

    Comment pending moderation

  26. fishing hat says:
    June 18, 2010 @ 02:06 — Reply

    Comment pending moderation

  27. Juicy Couture says:
    June 18, 2010 @ 05:29 — Reply

    Comment pending moderation

  28. replica watches says:
    June 21, 2010 @ 03:15 — Reply

    Comment pending moderation

  29. free piano sheet music says:
    June 22, 2010 @ 19:46 — Reply

    Comment pending moderation

  30. birkenstock says:
    June 22, 2010 @ 19:47 — Reply

    Comment pending moderation

  31. watches replica says:
    June 24, 2010 @ 19:33 — Reply

    Comment pending moderation

  32. fiwedding says:
    June 27, 2010 @ 20:56 — Reply

    Comment pending moderation

Leave a Comment

Line and paragraph breaks automatic, HTML allowed: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <code> <em> <i> <strike> <strong>

Comments disabled due to spammers being losers that lead sad lives.