Closed trentwirth closed 2 years ago
Remember - json's are just Python dictionaries
json
dictionaries
... which is to say, you just need to build your terrain out as a dict and then save that out to a json using json.dumps or something:
dict
json.dumps
https://www.geeksforgeeks.org/how-to-convert-python-dictionary-to-json/
deferring this until the next iteration of the ARGP...
Remember -
json
's are just Pythondictionaries
... which is to say, you just need to build your terrain out as a
dict
and then save that out to ajson
usingjson.dumps
or something:https://www.geeksforgeeks.org/how-to-convert-python-dictionary-to-json/