I'm cc'ing the list because it is good manners to do so. We are discussing ideas for test cases for json_server...
On Tue, May 29, 2012 at 8:26 AM, Mohit Srivastava <srivastavamohi...@gmail.com> wrote: > POST { "_id" : <number>, "document" : "some string"} > POST { "_id" : <number>, "document" : <number>} > > These are not going to fail because document is TEXT datatype. > These are supposed to succeed, yes. I forgot one more: POST { "_id" : <number>, "document" : [1, 2, 3, 4] } In other words, "valid json" is one of a structure {}, and array [], a string "" or a number (no quotes or anything). henrik -- henrik.i...@avoinelama.fi +358-40-8211286 skype: henrik.ingo irc: hingo www.openlife.cc My LinkedIn profile: http://www.linkedin.com/profile/view?id=9522559 _______________________________________________ Mailing list: https://launchpad.net/~drizzle-discuss Post to : drizzle-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~drizzle-discuss More help : https://help.launchpad.net/ListHelp