Hello,
To Add or Delete is very easy:
TJSONObject(FJSONData).Add('Item name', 'Item value');
TJSONObject(FJSONData).Delete(AIndex);
And to Insert?
TJSONObject(FJSONData).Insert(AIndex, 'Item name', 'Item value')? No no no... TJSONObject don't implements the method Insert (or Move method). :(
Thx.
Silvio Cl?cio
===============================================
Blog - <silvioprog.com.br>
Twitter - <twitter.com/silvioprog>
Facebook - <facebook.com/silvioprog>
LazSolutions - <code.google.com/p/lazsolutions>
Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR>
===============================================
? ?* Conhe?a nosso canal IRC sobre Lazarus: #lazarus-br *
===============================================