thrifty-runtime/src/main/java/com/microsoft/thrifty/protocol/JsonProtocol.java
protected void readJsonSyntaxChar(byte[] b) throws IOException {
        byte ch = reader.read();
        if (ch != b[0]) {
            throw new ProtocolException("Unexpected character:" + (char) ch);
        }
    }
protected void readJsonSyntaxChar(byte[] b) throws IOException {
        byte ch = reader.read();
        if (ch != b[0]) {
            throw new ProtocolException("Unexpected character:" + (char) ch);
        }
    }
and JsonPairContext.read