18 May 2005 barryp   » (Journeyer)

JSON (JavaScript Object Notation)

Just had the JSON lightbulb come on for me. I've been doing quite a bit with Python, and using Python pickles to pass data between various processes. It's awful convenient, but the language-dependence is a bit bothersome.

I've also been using Spread for inter-process and inter-machine communications, and using JSON should be much more flexible. I've always wanted to write an Apache2 module to send logging info over spread to Python scripts, but having C code generate Python pickles looked nasty. There's a nice, simple, C JSON library that should make serializing data in C to be read in Python a piece of cake.

I realize that there are already Apache modules that feed info into spread, but standardizing (at least for myself) on JSON objects as a Spread message format should be much more flexible.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!