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

Children is private #138

Open
andrewbaxter opened this issue Feb 25, 2024 · 1 comment
Open

Children is private #138

andrewbaxter opened this issue Feb 25, 2024 · 1 comment

Comments

@andrewbaxter
Copy link

Thanks for working on this! I was having issues trying to get mkv tags with symphonia and vlc, maybe because the mkv tags are a matrix rather than flat? Not sure.

In the MasterElement struct children is private so library users can't walk the tree. I didn't see any other way to get it other than serialize to json then deserialize.

@andrewbaxter
Copy link
Author

Actually, it looks like most of the structures have mostly private members don't implement Deserialize so I think the workaround is to go through untyped json values or else replicate the whole type tree.

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