sort keys with JSON.stringify()

Felipe Gasper felipe at felipegasper.com
Sat Sep 10 19:14:54 PDT 2011


Hello,

	Is it possible to get sorted keys:

{a:1,c:3}

…from running JSON.stringify when declaring an object thus:

{c:3,a:1}

??

-FG


More information about the es-discuss mailing list