I've taken a look at the current JSON serializer and wondering if anybody has put together a proposal for a "AJAX" json serializer.

The issue I've got with the current JSON serializer is that when you would like to interop a structure with a webpage (and web designer) you end up having to repack the data into a human friendly form. I've currently got a basic Thrift => AJAX JSON serializer working in python which enables me to take a structure that wasn't quite human readable to something that pretty much mirrors the original data format.

I'm not quite sure if it's worth making it totally portable for RPC, but at the same time it would enable a whole class of functionality quickly.

This is an example of some of the data response.

{
  "id":  "Brian_Kelly_(soccer)",
  "name":  "Brian Kelly",
  "stories":  [
    {
      "title":  "Brian Kelly takes ND job!  My only surprise is that he is NOT going 
to coach the Sugar Bowl for Cincinnati. Wow.",
      "url":  "#"
    },
    {
      "title":  "#Sports Newly hired Brian Kelly reports to work for Irish 
http://url4.eu/ugKW";,
      "url":  "#"
    },
    {
      "title":  "Hope Brian Kelly is happy letting down all of his players before 
the biggest game of their lives. I hope you fail in South Bend",
      "url":  "#"
    },
    {
      "title":  "RT @SethDavisHoops: Cincy WR Mardy Gilyard is \"disgusted\" Brian Kelly 
\"went for the money.\" So if he could be a 1st rd NFL pick, he'd st ...",
      "url":  "#"
    }
  ],
  "lifestream":  [],
  "places":  [
    {
      "title":  "Wikipedia",
      "url":  "http://en.wikipedia.com/wiki/Brian_Kelly_(soccer)"
    }
  ],
  "news":  []
}

Reply via email to