We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
According to circe/circe#536 there is no need to make transitive string serialization to get UTF-8 bytes array.
The text was updated successfully, but these errors were encountered:
Can you open a PR or put some more details about what you mean?
Sorry, something went wrong.
Sure, sorry.
Currently, op-rabbit-circe serializes JSON to string, and then gets bytes from it (https://github.com/SpinGo/op-rabbit/blob/master/addons/circe/src/main/scala/com/spingo/op_rabbit/CirceSupport.scala#L18):
value.asJson.noSpaces.getBytes(utf8)
But circe is able to generate bytes array directly.
Examples can be found here: https://github.com/circe/circe-jackson/pull/11/files
No branches or pull requests
According to circe/circe#536 there is no need to make transitive string serialization to get UTF-8 bytes array.
The text was updated successfully, but these errors were encountered: