Azure / Azure/azure-documentdb-java

Expose the response string in ResourceResponse

Offen
#124 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
feature
Vorherrschende Sprache
Java
Sterne
51
Forks
52
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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`.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.