[Proto-Scripty] Re: Prototype 1.7 EvalJSON Error Sintax on Date Eval

2011-01-07 Thread Luke
Afaik a JSON-Object (or string) must be wrapped in {}. What you have is an array (your string's wrapped with [ ]). Try: { [ {Aspirante_id:37, AspirantesComentarios_id: 6, Comentario:asdfadsf, Who:nahum, When: new Date(1294268679000) } ] } or

[Proto-Scripty] Re: Prototype 1.7 EvalJSON Error Sintax on Date Eval

2011-01-07 Thread ncubica
I don't think that is the reason because actually is an array of objects and without the When properties works, Im mean if you do something like [ {Aspirante_id:37, AspirantesComentarios_id: 6, Comentario:asdfadsf, Who:nahum }, {Aspirante_id:38,