Skip to content

Add a toString method to JacksonJsonBuffer #866

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
swallez opened this issue Aug 19, 2024 · 1 comment
Open

Add a toString method to JacksonJsonBuffer #866

swallez opened this issue Aug 19, 2024 · 1 comment
Labels
Category: Enhancement New feature or request

Comments

@swallez
Copy link
Member

swallez commented Aug 19, 2024

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.

@swallez swallez added the Category: Enhancement New feature or request label Aug 19, 2024
@quangdutran
Copy link

Hi @swallez so this will allow client who calls toString() to see the string value that the token buffer is holding? It sounds new contributor friendly, can I try to implement it as I understand your goal as above so you could review it maybe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants