ObjectReader.gif
Make(webapp)
Add(MainForm,1,49,77)
{
Width=#3:317|
Height=#3:227|
}
Add(Button,5,126,77)
{
Left=42
Top=14
link(onClick,17:doData,[])
}
Add(DoData,17,189,77)
{
Data=String({"event":"ok","data":"бл-бла","result":"oppa!"})
AddHint(-84,-54,0,0,Data)
link(onEventData,18:doConvert,[])
}
Add(JSON,18,252,77)
{
link(onConvert,23:doRead,[])
}
Add(ObjectReader,23,308,77)
{
EventFields=#5:event|4:data|6:result|
AddHint(-63,61,0,0,EventFields)
link(event,25:doCaption,[])
link(data,26:doCaption,[(373,90)(373,111)])
link(result,27:doCaption,[(366,97)(366,139)])
}
Add(Label,25,406,77)
{
Left=119
Top=14
Caption=#5:event|
}
Add(Label,26,406,105)
{
Left=119
Top=42
Caption=#4:data|
}
Add(Label,27,406,133)
{
Left=119
Top=70
Caption=#6:result|
}