Template: JSON data format


Output code handlers that can be queried against by a web application using Javascript JSON data format. This would entail returning the data in JSON fashion, just like getting the object's xml using the EntityInfoBase etc. Basically the handller should output JSON like:
JSONStream ouput = <Handlers>.Blog.Fetch(0) ;
JSONStream output = Blog.Fetch(0).toJSON(); (then leave the implementation up to the developer)


justinc wrote Feb 28, 2008 at 2:42 PM

I'm not sure I understand this one fully, isn't this all taken care of automatically by webservices? I guess I am not familiar with the JSONStream object can you explain that a bit more?

wrote Feb 13, 2013 at 2:14 AM