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

can't convert from string #31

Open
ashwin31 opened this issue Apr 26, 2016 · 7 comments
Open

can't convert from string #31

ashwin31 opened this issue Apr 26, 2016 · 7 comments

Comments

@ashwin31
Copy link

ashwin31 commented Apr 26, 2016

i want to converter xml on the fly like

converter = xml2json(message, encoding="utf-8")

I wanted to convert xml from a variable rather than file as explained in the examples.

@knadh
Copy link
Owner

knadh commented Apr 27, 2016

Your post is incomplete.

@ashwin31
Copy link
Author

@knadh I have updated description.Please check

@knadh
Copy link
Owner

knadh commented Apr 27, 2016

I am afraid you'll have to write your string to a file and then convert it.

@ashwin31
Copy link
Author

ashwin31 commented Apr 27, 2016

It would be good if you support string conversion too.

@knadh
Copy link
Owner

knadh commented Apr 27, 2016

Yep, will add a patch. I'll leave this issue open until then.

@ashwin31
Copy link
Author

Thank you @knadh

@fakejig
Copy link

fakejig commented Apr 28, 2023

any luck?

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