[Lazarus] How to insert item in TJSONObject?

Michael Van Canneyt michael at freepascal.org
Mon Dec 12 21:04:44 CET 2011



On Mon, 12 Dec 2011, silvioprog wrote:

> 2011/12/12  <michael.vancanneyt at wisa.be>:
> [...]
>> The order of elements in a json object is irrelevant.
>>
>> You should never rely on that. So just add at the end.
>
> I'm using JSON with ComboBox/ListBox/CheckListBox, and these
> components have the methods Move/Insert. :/
>
> But I'll try to solve this problem in a different way. Thank you Michael! :)

You should try an TJSONArray then, not a TJSONObject ?

Michael.




More information about the Lazarus mailing list