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

Expose intermediate prettyprint data structure directly #14

Open
plajjan opened this issue Mar 16, 2017 · 0 comments
Open

Expose intermediate prettyprint data structure directly #14

plajjan opened this issue Mar 16, 2017 · 0 comments

Comments

@plajjan
Copy link

plajjan commented Mar 16, 2017

The prettyprint() function recursively moves over a jxmlease data structure and produces a new intermediate structure of native dicts and lists which is then feed into the standard pprint function (potentially using a small backup version instead). I wonder, would it not be better to split this in two parts, the first that generates the data structure and the second doing the prettyprinting. The reason I'm asking for this is that I think that intermediate data structure could come in handy, especially if it can be made to return OrderedDict, in converting to other data formats. Thoughts?

@plajjan plajjan changed the title Expose prettyprint data structure directly Expose intermediate prettyprint data structure directly Mar 16, 2017
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