If you use amfphp, you just transfer the records to flash and assign the complete object to the grids dataProvider attribute.
If you use XML, you can do the same (its just a little more overhead in the data stream).
If you want to throw them by text stream (delimited by &), you have to walk through the variables, and use the addItem methode.