Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure minimal project structure #3

Open
abingham opened this issue Jul 9, 2019 · 0 comments
Open

Ensure minimal project structure #3

abingham opened this issue Jul 9, 2019 · 0 comments

Comments

@abingham
Copy link
Collaborator

abingham commented Jul 9, 2019

Camtasia project JSON has a lot of "optional" parts. For example, if you don't have any timeline markers, you don't necessarily have an empty list in the JSON...you might be missing the entire subtree that holds that list. This makes some of our access code a bit messy.

How can we simplify things?

One option is to "normalize" the project before we use it. We would just inject the missing skeleton before we do anything with the project. Then all parts of code that use the JSON struct could rely on a certain minimal structure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant