amfysky opened a new issue, #25333: URL: https://github.com/apache/pulsar/issues/25333
### Search before reporting - [x] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar. ### Motivation It is extremely inefficient to convert Object by using json String. This action just like using `JSON.stringify` and `JSON.parse` to deep clone in JavaScript instead of `lodash`. ### Solution Replace `writeValueAsString` and `readValue` with `convertValue` <img width="695" height="401" alt="Image" src="https://github.com/user-attachments/assets/67de7456-4988-4e69-b3d0-cd4075486832" /> ### Alternatives _No response_ ### Anything else? _No response_ ### Are you willing to submit a PR? - [x] I'm willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
