wureka opened a new issue, #14453: URL: https://github.com/apache/grails-core/issues/14453
I use gorm-hibernate in SpringBoot (and Micronaut) with Groovy. When I use JsonSlurper/JsonBuilder to convert entity class to JSON string, it happens to Stackoverflow error . You may refer to below link for getting detail exception dump: [https://stackoverflow.com/questions/56122167/when-using-hibernate-gorm-how-to-convert-domain-class-into-json-string](https://stackoverflow.com/questions/56122167/when-using-hibernate-gorm-how-to-convert-domain-class-into-json-string) It seems that both _JsonSlurper_ and _JsonBuilder_ can not handle entity classes built from GORM. So, is there any elegant way to convert domain classes to JSON string in Micronaut ? Please don't ask me to use Jackson library because the approach way of Jackson is so urgly. I know in Grails, _grails.converters.JSON_ can convert a domain class to JSON string without any problem. So, is it possible to add the similar feature of _grails.converters.JSON_ into gorm-hibernate ? -- 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]
