Javascript | Jun 12, 2008

Sending Javascript Functions Over JSON

In this post I’ll present a way to send javascript functions over JSON from a php server (but it should work on other platforms too). Since PHP version 5.20 PHP includes the functions json_encode() and json_decode(). These functions encode values into JSON formatting and decode JSON formatted strings into associative arrays. The json_encode() function is not able to encode a value into a (javascript) function. This is a common issue when configuring graphs from Flotr (my Javascript plotting library) with JSON data. Here are my findings.

read this article

Flotr | Mar 7, 2008

New Flotr Example: Drawing series with JSON data

I added an example to the Flotr example section. This example shows how to use requested JSON data to draw a graph. Go to the example section or take a look at the example directly. To learn more about handling JSON with Prototype, read Introduction to JSON

read this article

Javascript | Mar 13, 2007

Securing your JSON

A week ago Joe Walker posted a note on the insecurity of JSON. I’m using JSON for almost anything so I was shocked a bit by his findings.

read this article

Mootools | Dec 18, 2006

Mootools: JSON explained

I haven’t seen much tutorials around explaining using JSON with mootools, so I decided to write one. A year ago I always thought JSON’s a hard to understand way to have your client apps communicate with a server. Well, by using mootools it’s a breeze. If you don’t know what JSON is, check out says the following about JSON:

read this article

Notes | Dec 11, 2006
No comments yet

JSON Parser

There’s a nice and lightweight JSON Parser at Get it here.