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

Allow user to custom order of field in ConsoleWriter #170

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

TommyCpp
Copy link

@TommyCpp TommyCpp commented Jul 21, 2019

As point out in #155. It would be nice to have some control on the order of the output field.

Add example on how to custom field's order.

…r of output. If user didn't specify, then will use dictionary order.

In some case, the system have specific requirement for the order of output field. But json is unordered in definition. So we need decode json and reorder.

Add test accordingly.
@toni-moreno
Copy link

toni-moreno commented Jul 22, 2019

👍

@BK-Choi
Copy link

BK-Choi commented Apr 18, 2020

@TommyCpp is there any news?

@TommyCpp
Copy link
Author

@TommyCpp is there any news?

I don’t think it’s gonna be merged. Haven’t heard from the author.

@rs rs force-pushed the master branch 2 times, most recently from a78256a to f09463f Compare May 5, 2021 13:10
@BenjamenMeyer
Copy link

Nice; it would be great if there was a default implementation that ordered by the JSON/Dict keys as that would probably be the most common sort method.

@vidhanio
Copy link

Any updates on this feature? This would be very helpful. :)

@madkins23
Copy link
Contributor

Just submitted PR #550. Should have checked for previous work first. :-(

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

Successfully merging this pull request may close these issues.

None yet

6 participants