How to query a view and retrieve raw json

well you are correct, I was unclear: there is some deserialization, but it’s for unwrapping each row in the result list from the envelope of the response.

Each row item is composed of the value emitted by the view, the document’s ID that generated the value and the key emitted by the view.

If the type T is a POCO, the value part would also be unmarshalled into the POCO. Otherwise with String this is still raw JSON.

If you want to do all this processing yourself or somehow deserialize the whole row differently, then you’d have to use the REST api directly I guess… You could always construct the request through the ViewQuery object, get the URL by calling RawUri if you want…

Would you care to explain your use case in a little bit more detail though?