Skip to content

xml2json library is no longer maintained. use xml2js #15

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

Open
thiccaxe opened this issue Jul 18, 2023 · 5 comments
Open

xml2json library is no longer maintained. use xml2js #15

thiccaxe opened this issue Jul 18, 2023 · 5 comments

Comments

@thiccaxe
Copy link
Member

xml2js also doesn't depend on libexpat, which seems need software installed on windows.

Investigating if this will change the output structure.

@thiccaxe
Copy link
Member Author

output structure changes.

even better plan is probably to drop the dependency all together and make dependents roll their own library. The purpose of this library should be primarily dealing with the SOAP nonsense, not xml to json conversion, which is opinionated.

@thiccaxe
Copy link
Member Author

@LoganMD
Copy link
Member

LoganMD commented Jul 18, 2023

open a pr and ill gladly merge it

@kaijchang
Copy link
Member

output structure changes.

even better plan is probably to drop the dependency all together and make dependents roll their own library. The purpose of this library should be primarily dealing with the SOAP nonsense, not xml to json conversion, which is opinionated.

somewhat fair, but XML is not a format usable in Javascript, JSON is literally Javascript Object Notation. best solution might to be allow user to configure the XML -> JSON converter through options on StudentVueClient like in the Python version. don't think it really makes sense to make each user do their own conversion.

@thiccaxe
Copy link
Member Author

yep that was an idea I had. the default would be to just return the raw xml.

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

3 participants