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

implement ToJson/FromJson traits for types defined in core #976

Open
Yoorkin opened this issue Sep 11, 2024 · 2 comments
Open

implement ToJson/FromJson traits for types defined in core #976

Yoorkin opened this issue Sep 11, 2024 · 2 comments
Assignees

Comments

@Yoorkin
Copy link
Collaborator

Yoorkin commented Sep 11, 2024

No description provided.

@qazxcdswe123
Copy link
Contributor

qazxcdswe123 commented Sep 11, 2024

  • float
  • fixedarray
  • bigint
  • byte
  • bytes
  • option
  • result
  • unit

@qazxcdswe123
Copy link
Contributor

qazxcdswe123 commented Sep 11, 2024

Should byte and bytes be base64 encoded string in json? @bobzhang @Yoorkin
This is what protobuf does.

ref:

bytes base64 string "YWJjMTIzIT8kKiYoKSctPUB+" JSON value will be the data encoded as a string using standard base64 encoding with paddings. Either standard or URL-safe base64 encoding with/without paddings are accepted.

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

2 participants