I've just bought a hosting on a server which runs with PHP 5.1.6. Earlier, I've prepared a website which uses a lots of json_encode and json_decode calls.
As I've find it out now, those PHP functions are available in PHP 5 >= 5.2.0
It's a simple hosting, so I'm unable to add PECL extensions and so on. I'm wondering if there is such a solution written in PHP, which will allow me to convert PHP variable into JSON strings and backwards. Do You know any?