JSON for Server Communication
December 24, 2010
I have ported a Java JSON serializer to C# and included it in build 155 of the runtime.
Here is how JSON classes map to Smalltalk, C#, and Java:
=> Dictionary (Smalltalk)
=> Dictionary (C#)
=> HashMap (Java)
=> List (Smalltalk)
=> List (C#)
=> ArrayList (Java)
and the others (string, integer, double, boolean) are what you would expect in each.
On the Google server, objects are stored in JSON format in the database.
On the Smalltalk client, the low-level serialization mechanism for objects will use the same JSON format.
So now everything is in place for storing Smalltalk objects in the Google App Engine database. And, as I said in an earlier post, this object database will be accessible to server-side scripting languages like Groovy or Clojure.
A server-based file system should be in place by early next week.
It will allow online developers to store their applications and data. And it will allow desktop developers to share online files and move files between online and desktop storage.