Discusión:JSON

Último comentario: hace 3 años por InternetArchiveBot en el tema Enlaces externos modificados

Why programmers call it JSON? (Javascript Object Notation) JSON is an incomplete copy of ECMA-262 and not as it should be.

Stop once and for all call in it JSON, and call it as it is. Literal Javascript which is far more than JSON. Read the Javascript ECMA-262 You'll find it easier to understand than as a sole concept not as JSON.

Understand the Object Oriented Nature of Javascript and understand that ... to start ... The correct use of Javascript is Literal Javascript What is it for? Simple ... Javascript was designed with a concept of inline porgramming.

So when you understand the structure of Javascript you will understand that the correct use of Javascript is literal, and talking about JSON is an incorrect, absurd concept.

Simple diffences like

for Javascript {key:value} or {"key":value} are the same for JSON only {"key":value} is correct

for javascript var x= 0005; is correct for JSON only var x = 5;

                                             JSON !== Javascript

So is it clear? literal Javascript === Javascript

literal javascript is only another way (the correct way for web programming) to use javascript


  as it is   x  [ "y" ] = value  or   x.y=value  <- this is liteal javascript in Javascript, don't call it JSON.
  as it is  x [ "y" ] = value   or  x={Y:value} <- this is literal javascript too, not JSON

Wait a minute. This whole article violates the Wikipedias NPOV. The author rather than define JSON just criticises it an tries to show the world that JSON does not exist that its just in people's imagination.

People call it JSON because it is just a notation. That is language-independent.

So JSON is not Literal JavaScript, since that would make it language-dependent and would requiere a JavaScript interpreter not only to run but to create.

To put it in a whole different perspective. JSON is what JavaScript never was. A standarized way to write Object Oriented code in something 'like' JavaScript.

That was the primary problem with ECMA-262. It allowed for to much room for difference. You could write something like this

  var x = {};
  x.goFigure = function() {do_something()};
  function other_function() {
      do_something_else();
  }
  x.goFigure2 = other_function;
  x.other = {
     fn: function() {third_function()},
     fn2: function() {fourth_function()},
     array: [{one: 1,two:2,three: 3},{'une': 1, 'deux': 2, 'trois': 3}]
  };

And this was just a mess. Check out EXT or JQuery and you'll get an idea what is JSON. It is not Literal JavaScript, but what ever can be put in a single variable in a function.

--189.156.181.112 (discusión) 00:18 10 jun 2008 (UTC)Responder

Enlaces rotos editar

Elvisor (discusión) 20:19 19 ene 2013 (UTC)Responder

Enlaces rotos editar

Elvisor (discusión) 17:39 1 dic 2015 (UTC)Responder

Cita Rquerida editar

Buenas,

Creo que debería modificarse/eliminarse la frase: "De ahí que ni Yahoo, ni Google emplean JSON, sino LJS" para la que hay una petición de cita requerida. No se en el caso de Yahoo, pero en la web de Google Developers hay varias secciones dedicadas a JSON: https://developers.google.com/s/results/?q=json+style&start=0 incluidos enlaces a su repositorio de Github donde se puede encontrar fácilmente su uso.

Un saludo.

JSON no está "mal descrito" editar

La afirmación de que JSON "es un término mal descrito" no se justifica y la discusión que sigue es irrelevante. JSON no es JavaScript ni LJS y se describe en ECMA-404 y en RFC 7159. --217.22.96.73 (discusión) 09:50 6 mar 2017 (UTC)Responder

Enlaces externos modificados editar

Hola,

Acabo de modificar el enlace externo 4 en JSON. Por favor tomaos un momento para revisar mi edición. Si tenéis alguna pregunta o necesitáis que el bot ignore los enlaces o toda la página en su conjunto, por favor visitad esta simple guía para ver información adicional. He realizado los siguientes cambios:

Por favor acudid a la guía anteriormente enlazada para más información sobre cómo corregir los errores que el bot pueda cometer.

Saludos.—InternetArchiveBot (Reportar un error) 06:03 26 oct 2017 (UTC)Responder

Enlaces externos modificados editar

Hola,

Acabo de modificar 1 enlaces externos en JSON. Por favor tomaos un momento para revisar mi edición. Si tenéis alguna pregunta o necesitáis que el bot ignore los enlaces o toda la página en su conjunto, por favor visitad esta simple guía para ver información adicional. He realizado los siguientes cambios:

Por favor acudid a la guía anteriormente enlazada para más información sobre cómo corregir los errores que el bot pueda cometer.

Saludos.—InternetArchiveBot (Reportar un error) 04:09 9 may 2019 (UTC)Responder

Enlaces externos modificados editar

Hola,

Acabo de modificar 1 enlaces externos en JSON. Por favor tomaos un momento para revisar mi edición. Si tenéis alguna pregunta o necesitáis que el bot ignore los enlaces o toda la página en su conjunto, por favor visitad esta simple guía para ver información adicional. He realizado los siguientes cambios:

Por favor acudid a la guía anteriormente enlazada para más información sobre cómo corregir los errores que el bot pueda cometer.

Saludos.—InternetArchiveBot (Reportar un error) 01:38 18 sep 2019 (UTC)Responder

Enlaces externos modificados editar

Hola,

Acabo de modificar 1 enlaces externos en JSON. Por favor tomaos un momento para revisar mi edición. Si tenéis alguna pregunta o necesitáis que el bot ignore los enlaces o toda la página en su conjunto, por favor visitad esta simple guía para ver información adicional. He realizado los siguientes cambios:

Por favor acudid a la guía anteriormente enlazada para más información sobre cómo corregir los errores que el bot pueda cometer.

Saludos.—InternetArchiveBot (Reportar un error) 15:07 23 jul 2020 (UTC)Responder

Volver a la página «JSON».