You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Buffer#toJson method is incorrectly named as it operates like toJsonObject/toJsonArray : it interprets the content of the buffer and returns a corresponding json element.
Data object toJson methods instead transform the current object into a JSON representation, for buffer that would be a base64 representation of its bytes.
This method will be renamed to toJsonElement in master and deprecated in 4.x
The text was updated successfully, but these errors were encountered:
The
Buffer#toJson
method is incorrectly named as it operates liketoJsonObject
/toJsonArray
: it interprets the content of the buffer and returns a corresponding json element.Data object
toJson
methods instead transform the current object into a JSON representation, for buffer that would be a base64 representation of its bytes.This method will be renamed to
toJsonElement
in master and deprecated in 4.xThe text was updated successfully, but these errors were encountered: