Prototype JavaScript framework: Introduction to JSON:: If you are unsure of what type the data you need to encode is, your best bet is You should always set the sanitize parameter to true and an appropriate content http://www.prototypejs.org/learn/jsonHOME | I'm a bit confused on how JsonStore / JsonReader reads data - must json data always be an array of json objects, even if that array contains only one json object? Thanks in advance...
Thanks Animal.
A Store corresponds to an Array of rows.
Whatever it is that you specify the row as, be it an object with named properties (Read by a JsonReader), or as a simple Array of values (Read by an ArrayReader), ther must be an Array of them.
The docs for each type of reader show an example. Try the API docs - they're good.
RPC Protocol (OpenSocial.org):: The JSON/XML format of the OpenSocial data types for Person, Activity, Group is detected by examining the request to see if it is a JSON array of requests. http://www.opensocial.org/Technical-Resources/opensocial-spec-v081/rpc-protocolHOME | RFC 4627 (rfc4627) - The application/json Media Type for JavaScript Object:: set of formatting rules for the portable representation of structured data. This is a JSON array containing two objects: [ { precision: zip, Latitude http://www.faqs.org/rfcs/rfc4627.htmlHOME |
Nobody understands...any help please?
50 points for someone willing to do this!!!!!!!!!!?
|