Re: JSON to Datagrid

2021-12-08 Thread Tom Glod via use-livecode
JSONToArray works well for me if your JSON is correct. Always use try when decoding from JSON to catch any errors. On Wed, Dec 8, 2021 at 12:58 PM Mike Kerner via use-livecode < use-livecode@lists.runrev.com> wrote: > completely off the top of my head, so this might not be quite right >

Re: JSON to Datagrid

2021-12-08 Thread Mike Kerner via use-livecode
completely off the top of my head, so this might not be quite right jsonToArray set the dgData of group "datagrid 1" to On Wed, Dec 8, 2021 at 11:39 AM Keith Clarke via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Skip, > I don’t use Datagrids but have used a two-step process to

Re: JSON to Datagrid

2021-12-08 Thread Keith Clarke via use-livecode
Hi Skip, I don’t use Datagrids but have used a two-step process to get JSON into the Tree widget and a similar process may provide a direction of travel to test…? 1. JSON-to-array https://lessons.livecode.com/m/4071/l/1303394-how-to-read-in-data-from-a-json-file 2. Setting the array data of

Re: JSON to Datagrid

2021-12-08 Thread Skip Kimpel via use-livecode
To functions actually needed... need to be able to convert to a datagrid and I will be also pumping this data into a SQL server. SKIP On Wed, Dec 8, 2021 at 11:15 AM Skip Kimpel wrote: > I have been googling a solution for this but have not found a solid > solution for this. > > Can anybody