public static Pipe newPipe(byte[] data, int offset, int length, boolean numeric)
            throws IOException
    {
        final IOContext context = new IOContext(DEFAULT_JSON_FACTORY._getBufferRecycler(),
                data, false);
        final JsonParser parser = newJsonParser(null, data, offset, offset + length, false,
                context);

        return newPipe(parser, numeric);
    }
Creates a json pipe from a byte array.
protostuff-json/src/main/java/io/protostuff/JsonIOUtil.java