Package io.micronaut.serde.tck.tests
Class ByteArrayWriteValueAsStringTest
java.lang.Object
io.micronaut.serde.tck.tests.ByteArrayWriteValueAsStringTest
@Property(name="micronaut.serde.write-binary-as-array",
value="false")
public class ByteArrayWriteValueAsStringTest
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
testByteArrayAsString
(io.micronaut.json.JsonMapper jsonMapper) byte[] is written as base64 string
-
Constructor Details
-
ByteArrayWriteValueAsStringTest
public ByteArrayWriteValueAsStringTest()
-
-
Method Details
-
testByteArrayAsString
byte[] is written as base64 string- Parameters:
jsonMapper
- JSONMapper either Jackson or Serde implementation- Throws:
IOException
- If an unrecoverable error occurs
-