Hi Paul,<div><br></div><div>Did you solve this problem? If not perhaps there&#39;s no need to encode the elements of the Dictionary separately. Perhaps something like:<br><br></div><div><br></div><div>renderContentOn: html<br>
|event1 events|<br><br>event1:=Dictionary new.<br>event1 at: &#39;title&#39; put:&#39;event1&#39;.<br>event1 at:&#39;start&#39; put:&#39;2010-06-20&#39;.<br><br>html div<br>   id:&#39;calendar&#39;;<br>   script: (html jQuery this fullCalendar theme:true).<br>
   html script:( (html jQuery id:&#39;calendar&#39;) fullCalendar events:(event1 asJson) )<br></div><div><br></div><div>or even try without the asJson.</div><div><br></div><div>It looks as though your Dictionary is Jsonified/Javascriptified three times.</div>
<div><br></div><div>Compare the output of:</div><div><br></div><div><div>event1:=Dictionary new.</div><div>event1 at: &#39;title&#39; put:&#39;event1&#39;.</div><div>event1 at:&#39;start&#39; put:&#39;2010-06-20&#39;.</div>
<div>event1 asJson</div></div><div><br></div><div>with:</div><div><br></div><div><div>event1:=Dictionary new.</div><div>event1 at: &#39;title&#39; put:&#39;event1&#39;.</div><div>event1 at:&#39;start&#39; put:&#39;2010-06-20&#39;.</div>
<div>event1 asJson asJson asJson</div></div><div><br></div><div>Hope this helps</div><div><br></div><div>Nick</div><div><br><div class="gmail_quote">On 20 June 2010 17:22, Paul DeBruicker <span dir="ltr">&lt;<a href="mailto:pdebruic@gmail.com">pdebruic@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi -<br>
<br>
I&#39;m trying to generate a JSON array and can&#39;t figure out how to get rid of the escaped double quote characters.<br>
<br>
When I do this:<br>
<br>
renderContentOn: html<br>
|event1 events|<br>
<br>
event1:=Dictionary new.<br>
event1 at: &#39;title&#39; put:&#39;event1&#39;.<br>
event1 at:&#39;start&#39; put:&#39;2010-06-20&#39;.<br>
 events:= String streamContents: [:stream | event1 jsonOn: stream].<br>
<br>
html div<br>
    id:&#39;calendar&#39;;<br>
    script: (html jQuery this fullCalendar theme:true).<br>
    html script:( (html jQuery id:&#39;calendar&#39;) fullCalendar events:(Array with:events) )<br>
<br>
<br>
in the web page I get:<br>
<br>
$(&quot;#calendar&quot;).fullCalendar(&quot;{\&quot;events\&quot;:[\&quot;{\\\&quot;title\\\&quot;:\\\&quot;event1\\\&quot;,\\\&quot;start\\\&quot;:\\\&quot;2010-06-20\\\&quot;}\&quot;]}&quot;)<br>
<br>
<br>
but what I seem to need to get the jQuery  FullCalendar (<a href="http://arshaw.com/fullcalendar/" target="_blank">http://arshaw.com/fullcalendar/</a>)  plug-in to work is this:<br>
<br>
$(&quot;#calendar&quot;).fullCalendar({events:[{title:&quot;event1&quot;,start:&quot;2010-06-20&quot;}]})<br>
<br>
<br>
Thanks for any guidance you can provide...<br><font color="#888888">
<br>
<br>
Paul DeBruicker<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</font></blockquote></div><br></div>