http://www.prototypejs.org/learn/json
2008/5/15 Leon Derks <[EMAIL PROTECTED]>: > Hello > > I have a JSON object like this: > > JSONObject obj = new JSONObject(); > > obj.put(entity.getId(), entity.getName()); > > But how can I get the value from my json object in javascript, if I don't > know the key name? > > Is there a way to get the key name(s) from a json object in javascript? > > Leon > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- with regards Sven Homburg http://tapestry5-components.googlecode.com