JSON

Mark Wieder mwieder at ahsoftware.net
Mon Jun 3 23:50:47 EDT 2013


Tom-

Monday, June 3, 2013, 7:14:37 PM, you wrote:

> Mark,

> The data is very simple with no binary at all. I won't need to receive any back. So


Well, what you want to push to the server depends on the key:value
pairs they expect. Here's a simple example:

{"name" : "Tom McGrath", "favorite_author" : "Dr. Seuss"}

Here's an example from a mongodb student database:

{"_id": {"oid" : 1234},
  "student_id" : 0,
  "class_id" : 49,
  "scores" : [
    {"type" : "exam", "score" : 54.6}
    {"type" : "quiz", "score" : 65.6}
    {"type" : "homework", "score" : 78}
    {"type" : "homework", "score" : 80.4}
  ]
}

-- 
-Mark Wieder
 mwieder at ahsoftware.net





More information about the use-livecode mailing list