public boolean[] decodeBoolArray(final byte[] parameterBytes, final boolean isBinary) {
        ShardingSpherePreconditions.checkState(!isBinary, () -> new UnsupportedSQLOperationException("binary mode"));
        String parameterValue = new String(parameterBytes, StandardCharsets.UTF_8);
        Collection<String> parameterElements = decodeText(parameterValue);
        boolean[] result = new boolean[parameterElements.size()];
        int index = 0;
        for (String each : parameterElements) {
            result[index++] = Boolean.parseBoolean(each);
        }
        return result;
    }
@Test
    void assertParseBoolArrayNormalTextMode() {
        boolean[] actual = DECODER.decodeBoolArray("{\"true\",\"false\"}".getBytes(), false);
        assertThat(actual.length, is(2));
        assertTrue(actual[0]);
        assertFalse(actual[1]);
    }