Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #8761

Re: JSON schema ??? SQL-Binding ??? HTML-Form-Binding ???

From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.javascript
Subject Re: JSON schema ??? SQL-Binding ??? HTML-Form-Binding ???
Date 2011-12-02 13:52 +0100
Organization A noiseless patient Spider
Message-ID <4ED8CA01.2020608@arnowelzel.de> (permalink)
References (10 earlier) <4ed51ecc$0$29455$a8266bb1@newsreader.readnews.com> <1352104.gvF1YVE18W@PointedEars.de> <4ED614F5.5070701@arnowelzel.de> <4ed616b5$0$29374$a8266bb1@newsreader.readnews.com> <3010164.SPkdTlGXAF@PointedEars.de>

Show all headers | View raw


Thomas 'PointedEars' Lahn, 2011-11-30 14:53:

> Denis McMahon wrote:
> 
>> On Wed, 30 Nov 2011 12:35:17 +0100, Arno Welzel wrote:
>>> What is the difference between "serialising a data object" and "(object)
>>> data exchange"?
>>
>> Only that Thomas has to call it something different to me to suggest that
>> I don't know what I'm talking about.
> 
> You don't.  JSON is about exchanging data, not serializing objects.
> There does not even need to be an original object for JSON.

BTW: JSON = JavaScript Object Notation

On <http://www.json.org/>:

"
[...]
In JSON, they take on these forms:

An object is an unordered set of name/value pairs. An object begins with
{ (left brace) and ends with } (right brace) [...]"

I assume this is what Dennis described as "serialising a data object".

And even RFC4627 talks about "objects":

"2.2.  Objects

   An object structure is represented as a pair of curly brackets
   surrounding zero or more name/value pairs (or members).  A name is a
   string.  A single colon comes after each name, separating the name
   from the value.  A single comma separates a value from a following
   name.  The names within an object SHOULD be unique.

      object = begin-object [ member *( value-separator member ) ]
      end-object

      member = string name-separator value"

Just to understand it the difference: Is "serialising a data object"
only valid for CORBA, DCOM, JDO etc. and "(object) data exchange" is
only valid for JSON?


-- 
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

JSON schema ??? SQL-Binding ??? HTML-Form-Binding ??? Jörg Weule <weule@7b5.de> - 2011-11-26 21:08 +0100
  Re: JSON schema ??? SQL-Binding ??? HTML-Form-Binding ??? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-11-26 21:27 +0100
  Re: JSON schema ??? SQL-Binding ??? HTML-Form-Binding ??? Jörg Weule <weule@7b5.de> - 2011-11-26 22:45 +0100
    Re: JSON schema ??? SQL-Binding ??? HTML-Form-Binding ??? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-11-26 23:08 +0100
      Re: JSON schema ??? SQL-Binding ??? HTML-Form-Binding ??? Jörg Weule <weule@7b5.de> - 2011-11-26 23:27 +0100
        Re: JSON schema ??? SQL-Binding ??? HTML-Form-Binding ??? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-11-26 23:32 +0100
          Re: JSON schema ??? SQL-Binding ??? HTML-Form-Binding ??? Jörg Weule <weule@7b5.de> - 2011-11-26 23:43 +0100
            Re: JSON schema ??? SQL-Binding ??? HTML-Form-Binding ??? Bart Lateur <bart.lateur@telenet.be> - 2011-11-27 20:27 +0100
              Re: JSON schema ??? SQL-Binding ??? HTML-Form-Binding ??? Jörg Weule <weule@7b5.de> - 2011-11-28 18:56 +0100
                Re: JSON schema ??? SQL-Binding ??? HTML-Form-Binding ??? Denis McMahon <denismfmcmahon@gmail.com> - 2011-11-28 21:41 +0000
                Re: JSON schema ??? SQL-Binding ??? HTML-Form-Binding ??? Jörg Weule <weule@7b5.de> - 2011-11-29 08:22 +0100
                Re: JSON schema ??? SQL-Binding ??? HTML-Form-Binding ??? Scott Sauyet <scott.sauyet@gmail.com> - 2011-11-29 05:32 -0800
                Re: JSON schema ??? SQL-Binding ??? HTML-Form-Binding ??? Denis McMahon <denismfmcmahon@gmail.com> - 2011-11-29 18:05 +0000
                Re: JSON schema ??? SQL-Binding ??? HTML-Form-Binding ??? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-11-29 23:59 +0100
                Re: JSON schema ??? SQL-Binding ??? HTML-Form-Binding ??? Arno Welzel <usenet@arnowelzel.de> - 2011-11-30 12:35 +0100
                Re: JSON schema ??? SQL-Binding ??? HTML-Form-Binding ??? Denis McMahon <denismfmcmahon@gmail.com> - 2011-11-30 11:42 +0000
                Re: JSON schema ??? SQL-Binding ??? HTML-Form-Binding ??? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-11-30 14:53 +0100
                Re: JSON schema ??? SQL-Binding ??? HTML-Form-Binding ??? Arno Welzel <usenet@arnowelzel.de> - 2011-12-02 13:52 +0100
            Re: JSON schema ??? SQL-Binding ??? HTML-Form-Binding ??? Arno Welzel <usenet@arnowelzel.de> - 2011-11-28 01:58 +0100
      Re: JSON schema ??? SQL-Binding ??? HTML-Form-Binding ??? Jörg Weule <weule@7b5.de> - 2011-11-26 23:31 +0100
        Re: JSON schema ??? SQL-Binding ??? HTML-Form-Binding ??? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-11-26 23:34 +0100

csiph-web