Azure / Azure/azure-documentdb-java

Expose the response string in ResourceResponse

Open
#124 2 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Java
Stars
51
Forks
52
PR merge metrics
No merged PRs in 30d

Description

Hi,

Currently there is no way to get the original response string for a `ResourceResponse` - there is only access to the already parsed JSON property bag.

I need to convert the response to custom class (protobuff in my case) and having to serialize using toString() is a waste since the SDK already has access to the JSON string.

It would be great if the SDK could expose this since `DocumentServiceResponse` already has a `getReponseBodyAsString`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.