Hi

Bungee - chapter 4 - JSON

1.
var undef;

Firebug display:
>>> Object.toJSON(undef)

No empty quotes are displayed as indicated by example // => ''

2.
var doudou = { first: 'Élodie', last: 'Jaubert', birthDate: new
Date(1980, 9, 29), // 0 == January
gang: [ 'Camille', 'Clotilde', 'Diane' ],
getJob: function() { return 'Chef du monde' },
blond: false
};

Firebug display:
>>> Object.toJSON(doudou);
"{"first": "Élodie", "last": "Jaubert", "birthDate":
"1980-10-29T00:00:00Z", "gang": ["Camille", "Clotilde", "Diane"],
"blond": false}"

How can the accent above E in Elodie be supported across browsers?

Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to