Tomorrow__: Google can.

Steffel: I have a for loop and try to data.push = {, filename:navigator.pluginsi.filename, description:navigator.pluginsi.description, version:navigator.pluginsi.version };

Neumeyer: But this is not what I want

Lorange: I know data is a array and not a object

Abadi: Zerobaud: you can do that w/ standard JSON functions in JS, PHP, and Python

Simeon: Zerobaud: you can also use a DB w/ JSON column type and access it that way

Antolik: Duke: so how do I fill the object in javascript? the problem is there are cases where the object itself might contain other objects which lastly contain the strings

Bokanovich: Well presumably you store the object in a TEXT field

Rafel: VARCHAR i guess they are the same?

Brickley: Or are you saying you want this to represent a series of INSERT/UPDATEs?

Amweg: Depends on the DB but sure

Yant: Zerobaud: ah, this explanation makes more sense

Dinges: I do this because the actual data contain versions, and I need to p**** the version with python. so I can the sotre them in a way that allows to do ifflash.minor 2 and flash.major 3

Haddock: Zerobaud: in Python it will be dicts/lists, in PHP arrays/arrays, in JS objets/arrays

Towne: I for example have a JS that grabs all plugins with corresponding name,description,version,filename for all plugins

Anastos: How would I go about adding them to a single object that gets JSON.stringified so I dont have to post for each seperate plugin?

Sayward: Or should I use an array?

Gail: Considering eventually they will get used by python will it make it harder if I do array object.{name,versoin.} then if I do object object.{name,versoin.}?

Grinstead: You understand how serialization works zerobaud ?

Dutcher: I dont think I do, I guess it takes variables and stores them in such a way that they can be translated back to their orignal value in another language

Chrisman: So you dont have to worry about escaping or w/e

Champany: Right, so you will get a structure you can work with in any language .

Carlsten: So, you don’t have to think so much about this

Ammirati: Just serialize it during transmission

Moeller: But the database receives instead of an array containing objects or and object containing objects or w/e

Harrel: Deserialize it when you need to work with it

Sleeper: Well the database should receive the JSON no?

Beninati: If you intend to store this

Schoberg: So then store the JSON

Cofresi: Let me console.log the value before its ajexed

Mclellan: By serializing before storing

Bastow: Forvar i=0 ; inavigator.plugins.length ; i++ {

Gentis: Data.push = {, filename:navigator.pluginsi.filename, description:navigator.pluginsi.description, version:navigator.pluginsi.version };

Ferrall: Why doesnt it store anything?

Shulte: That’s not how push works.

Arkadie: Yea it sounds like you aren’t calling push but rather shadowing it

Selvage: It adds elements to the end of an array. But it’s a function, not a magically ***ignable variable.

Ordorica: Data.pushwhatever, whateverElse;

Kleiboeker: I see what I did there.

Gerrero: Zerobaud: zerobaud – YouTube

Germinaro: Data.push{, filename:navigator.pluginsi.filename, description:navigator.pluginsi.description, version:navigator.pluginsi.version };

Notaro: Bam it works! thanks!

Osting: Single Page Apps are not well-suited for websites where SEO is important right?

Buczak: Geez, is everyone sleeping or what?

Pretlow: Tomorrow__: Google can p**** Ajax requests without modification now or so we’ve been told