How to use json file in retool to show in a meaningful way

hi people,

i have a problem to use .json files. in local i have many json file. in retool i want to show them to user in a beatiful way.

  1. i tried to upload json files through retool ustilities but with mozilla and edge and chrome could not do that.
  2. i uploaded couple of file retool storage to use them, but with the query i can only get name, id and other list information, not the content of the file.

any suggestions?

Hi @halil,

  1. Was there an error message?
  2. Retool Storage's 'Get contents of a file' endpoint returns the base64Data of the file, so you could use this Javascript to get the json of the file: atob(retoolStorageQueryName.data.base64Data). There's also a url that you could put into an iframe
1 Like