calling an api from a stack?

Eric A. Engle engleerica at
Fri Jun 15 13:03:08 EDT 2018

This works, sort of:

  put URL "" into tResult
  put tResult into card field 1
  --put JsonImport(tResult) into  tResults
  --put JsonToArray(tResults) into tProfile
  put tResult & return into cd fld 1
  set the itemdelimiter to "["
  put the last item of tResult after cd fld 1

for some reason JsonImport and JsonToArray return nothing. I can however set delimiter to [ and then programmatically delete the first and last 3 chars after the last item of tResult. But why can't, or how, must I extract from Json?

More information about the Use-livecode mailing list