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 cosmwasm_std::to_json_vec, to_json_binary, to_json_string #1885

Closed
2 tasks
webmaster128 opened this issue Sep 22, 2023 · 0 comments · Fixed by #1886
Closed
2 tasks

Add cosmwasm_std::to_json_vec, to_json_binary, to_json_string #1885

webmaster128 opened this issue Sep 22, 2023 · 0 comments · Fixed by #1886
Milestone

Comments

@webmaster128
Copy link
Member

As there will be multiple encodings emerging in the CosmWasm ecosystem, calling serializers just to_vec and friends is insufficient to get a clue what is happening at the various nesting levels. Adding JSON in the name should solve that.

  • Add cosmwasm_std::to_json_vec, ::to_json_binary, ::to_json_string
  • Deprecate cosmwasm_std::to_vec and cosmwasm_std::to_binary

Do the same for the derializers.

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 a pull request may close this issue.

1 participant