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 Details

    • ByteArrayWriteValueAsStringTest

      public ByteArrayWriteValueAsStringTest()
  • Method Details

    • testByteArrayAsString

      @Test public void testByteArrayAsString(io.micronaut.json.JsonMapper jsonMapper) throws IOException
      byte[] is written as base64 string
      Parameters:
      jsonMapper - JSONMapper either Jackson or Serde implementation
      Throws:
      IOException - If an unrecoverable error occurs