Closed matanp closed 6 years ago
Improve on prototype by no longer having to use hard coded json keys and variable names.
Make each json key map to a latex variable with the same name. Be able to add keys to the json file and have it run without needing to update python code.
Implemented:
Loop through all keys in json file, and turn them into a latex variable with the same name.
Currently can handle json structures similar to:
{ "key": 4} and {"key": { "value": 4, "units": "mg/l" } }
Improve on prototype by no longer having to use hard coded json keys and variable names.
Make each json key map to a latex variable with the same name. Be able to add keys to the json file and have it run without needing to update python code.