Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Duplicate
-
2.4.12
-
None
Description
Running:
import groovy.json.JsonBuilder import java.time.* def localDate = LocalDate.now() JsonBuilder builder = new JsonBuilder() builder { date localDate } builder.toString() // thrown here
Produces:
java.lang.StackOverflowError
Attachments
Issue Links
- duplicates
-
GROOVY-7682 JsonBuilder or JsonOutput incompatible with JodaTime
- Closed