JSON File Loader

How can I add or upload a JSON file which is on my local device and upload it to anvil app and do my work?

Thanks and Regards,
Monil

Good morning, @jainmonil2101.

To get the file from the user into the app, I’d suggest starting here: Files, Media and Binary Data, including the Quickstart.

For working with JSON in Python, including the ability to read it into a Python data structure, you can use the built-in Python library, documented here: json — JSON encoder and decoder.

1 Like