<div dir="ltr">2013/2/28 luiz americo pereira camara <span dir="ltr"><<a href="mailto:luizmed@oi.com.br" target="_blank">luizmed@oi.com.br</a>></span><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

2013/2/28 Michael Van Canneyt <<a href="mailto:michael@freepascal.org">michael@freepascal.org</a>>:<br>
<div class="im">><br>
><br>
> On Thu, 28 Feb 2013, silvioprog wrote:<br>
><br>
>> Hello,<br>
>> Please see:<br>
>><br>
>> <a href="http://bugs.freepascal.org/view.php?id=23970" target="_blank">http://bugs.freepascal.org/view.php?id=23970</a><br>
><br>
><br>
> Fixed.<br><br>
</div>Seems that you committed by accident code to make AsJSON output more compact.<br>
<br>
This may lead to compatibility problems.<br>
<span class=""><font color="#888888"><br>
Luiz<br></font></span></blockquote></div><br><div class="gmail_extra">You touched on an important point. It would be nice to be able to customize the output format of JSON. For example, currently the fpjson format is this:</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">{ "foo" : "bar" }</div><div class="gmail_extra"><br></div><div class="gmail_extra">And I personally prefer:</div><div class="gmail_extra"><br>

</div><div class="gmail_extra">{ "foo": "bar" }</div><div class="gmail_extra"><br></div><div class="gmail_extra">The latter format is what we see in all JavaScript libraries. :)<br></div></div><div class="gmail_extra">

<div><br></div>-- <br>Silvio Clécio<br>My public projects - <a href="http://github.com/silvioprog" target="_blank">github.com/silvioprog</a>
</div></div>