[Project_owners] JSON and extensions

Eric H. Jung grimholtz at yahoo.com
Thu Mar 2 19:04:27 EST 2006


Hi,

Has anyone successfully used JSON with a Firefox/Mozilla extension? JSON provides a means to
de/serialize (un/marshall) objects, in same vein as XML or RDF de/serialization.

The following works in an HTML page opened in Firefox, but not in an extension:

function MyClass() {
  this.foo = "foo";
}
alert(JSON.stringify(new MyClass()));


Thanks for any help,
Eric

Use Your PC To Find a Cure for Cancerhttp://members.ud.com/services/teams/team.htm?id=68C9E079-8285-495F-8598-D73352CC7075And Join Team Lulu


More information about the Project_owners mailing list