groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pascal Schumacher (JIRA)" <>
Subject [jira] [Updated] (GROOVY-7076) No way to coerce object type in Json parser?
Date Sun, 05 Jul 2015 15:13:04 GMT


Pascal Schumacher updated GROOVY-7076:
    Component/s:     (was: groovy-jdk)

> No way to coerce object type in Json parser?
> --------------------------------------------
>                 Key: GROOVY-7076
>                 URL:
>             Project: Groovy
>          Issue Type: Improvement
>          Components: JSON
>    Affects Versions: 2.3.6
>            Reporter: William Gorder
> I wanted to add an HttpMessageConverter to Spring to use the native Groovy JSON parser
rather than including Jackson.  However unlike the Boon library it was ported from, there
seems to be no way to coerce the JSON string to a specified type.  This is kind of important
in any system that needs to interface with Java API's and would be one of the primary tasks
I would think a deserialization library would handle for me.
> Am I missing something obvious?
> Here is the ticket

This message was sent by Atlassian JIRA

View raw message