Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-10

JSON and StringGrid

5 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

silvioprog

Hello,

Is there a native alternative for populate a StringGrid with JSON? Eg. 'Grid.LoadFromJSON(const AFileName: TFileName);'

Thx.

ps. Web solution: http://extjs.org.cn/extjs/examples/grid/json-grid.html

Silvio Cl?cio =============================================== Blog - <silvioprog.com.br> Twitter - <twitter.com/silvioprog> Facebook - <facebook.com/silvioprog> LazSolutions - <code.google.com/p/lazsolutions> LazWebSolutions - <code.google.com/p/lazwebsolutions> Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR> =============================================== ? ?* Conhe?a nosso canal IRC sobre Lazarus: #lazarus-br * ===============================================

Reply by email

silvioprog
to Luiz Americo Pereira Camara

2011/10/12 Luiz Americo Pereira Camara :

Show quoted text 9 lines
I implemented a JSON list view / tree view / inspector using VTV See http://code.google.com/p/luipack/source/browse/trunk/vtvextras/vtvutils/vtjson.pas There are some demos in demos folder Luiz

I saw your implementation, very good!

The StringGrid not have the flexibility that the VTV. :/

I think that I can count with your help to implement a code to populate a JSON data in a StringGrid.

Sorry for my english.

Silvio Cl?cio =============================================== Blog - <silvioprog.com.br> Twitter - <twitter.com/silvioprog> Facebook - <facebook.com/silvioprog> LazSolutions - <code.google.com/p/lazsolutions> LazWebSolutions - <code.google.com/p/lazwebsolutions> Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR> =============================================== ? ?* Conhe?a nosso canal IRC sobre Lazarus: #lazarus-br * ===============================================

Reply by email

Luiz Americo Pereira Camara
to silvioprog
silvioprog wrote 15 lines
2011/10/12 Luiz Americo Pereira Camara: > I implemented a JSON list view / tree view / inspector using VTV > > See > http://code.google.com/p/luipack/source/browse/trunk/vtvextras/vtvutils/vtjson.pas > > There are some demos in demos folder > > Luiz I saw your implementation, very good! The StringGrid not have the flexibility that the VTV. :/ I think that I can count with your help to implement a code to populate a JSON data in a StringGrid.

OK. It's not hard

Sorry for my english.

No problem. You can talk to me in private with our native language

Luiz

Reply by email

silvioprog
to Luiz Americo Pereira Camara

2011/10/12 Luiz Americo Pereira Camara :

Show quoted text 28 lines
On 12/10/2011 01:03, silvioprog wrote: > > 2011/10/12 Luiz Americo Pereira Camara: >> >> I implemented a JSON list view / tree view / inspector using VTV >> >> See >> >> http://code.google.com/p/luipack/source/browse/trunk/vtvextras/vtvutils/vtjson.pas >> >> There are some demos in demos folder >> >> Luiz > > I saw your implementation, very good! > > The StringGrid not have the flexibility that the VTV. :/ > > I think that I can count with your help to implement a code to > populate a JSON data in a StringGrid. OK. It's not hard > Sorry for my english. No problem. You can talk to me in private with our native language Luiz

Thank you Luiz?o. :) I'll send my initial implementation to you in pvt, explaining the problem in brazilian language. ;)

After resolving the problem, I'll post the final implementation to the guys here in the thread.

Silvio Cl?cio =============================================== Blog - <silvioprog.com.br> Twitter - <twitter.com/silvioprog> Facebook - <facebook.com/silvioprog> LazSolutions - <code.google.com/p/lazsolutions> LazWebSolutions - <code.google.com/p/lazwebsolutions> Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR> =============================================== ? ?* Conhe?a nosso canal IRC sobre Lazarus: #lazarus-br * ===============================================

Reply by email