Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

JSON and Roll Tables

I don't even know if I'm posting this in the right forum. Is there a way to import rollable tables that were created in JSON? And custom monsters and the like? If not, how would one do this? Thanks!
1717535862
timmaugh
Forum Champion
API Scripter
You would need a script to do that... which you could do, but it would be contingent on the organization of the data in your JSON structure. There are other options, though... like the TableToTable script that provide a way to use existing tables from outside Roll20, paste them into a particular handout, and have them be processed into rollable tables. Here is a series of videos on using the script. If you really do want to move forward with processing JSON information, post back and we can pass on resources that would help in the development of a dedicated script for your project.
1717595183
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
There is a OneClcik script, ExportTable (which can also import). It can take a formatted text list and create a rollable table from it. It would require parsing your JSON data into that format. I typically use a spreadsheet to simplify this, but you may have better methods.