NEST 7.17 RequestBodyInBytes invalid JSON?

Hi,

Recently played a bit with diagnostics of queries sent to ES via NEST and noticed that RequestBodyInBytes (when Utf8 decoded) returns invalid JSON - see attachment: last closing bracket (red) should match 2nd opening bracket in line #1 while now it matches earlier bracket - apparently two closing brackets are missing.

The presented JSON was produced using the below
Encoding.UTF8.GetString(apiCallDetails.RequestBodyInBytes)
in OnRequestCompleted handler.

Or I'm doing it wrong?

Cheers,
Tomek

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.