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

Add backwards compatible 'formatJson' option to the toJson methods #73

Merged
merged 2 commits into from
Apr 21, 2021

Conversation

wclaeys
Copy link
Contributor

@wclaeys wclaeys commented Apr 6, 2021

Fixes #27

Copy link
Member

@aslesarenko aslesarenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution, looks good, please see comments.

/**
* Json representation of this transaction.
*/
String toJson(boolean prettyPrint, boolean formatJson);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wclaeys please add JavaDoc describing logic of the parameters and how they affect the output.

/**
* Json representation of this transaction.
*/
String toJson(boolean prettyPrint, boolean formatJson);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add JavaDoc also.

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.

toJson method in SignedTransaction seems to have problems.
2 participants