To create a universal JSON export file for Hero Designer to be used across multiple tools.
- Try to make it as "readable" as possible.
- Use nesting to organize things like an object. A fellow dev should be able to easily find a parameter by looking at the root and following it down the tree.
- Multiple params are OK. HD has many fields for output. We shouldn't force any implementation to use any particular output.
- You will find some interesting combinations of export elements for top level and sub-level parameters. This is an attempt to create unique names (required for JSON).
- I have separated out the JSON from the export format file. This will make it easier for an IDE/text editor to format. It also has the benefit of making the JSON part more universal.
- I included the HD export file I tuned up for import into FoundryVTT. I think we can merge this into a universal export format that works for all parties.
- To make JSON params unique, you have to "name" a compound power. Otherwise, there is collision of param names.
Just email me at trechriron at that google place with your username and I'll add you!