elastic / elasticsearch-java

Official Elasticsearch Java Client
Apache License 2.0
6 stars 242 forks source link

Add a `toString` method to `JacksonJsonBuffer` #866

Open swallez opened 2 months ago

swallez commented 2 months ago

This will make it consistent with the behavior of JsonDataImpl, the other implementation of JsonData. Rendering as JSON in toString() comes with a cost, but provides convenience when logging plain objects or displaying them in a debugger.