jwagenleitner/groovy-wslite — Issue #33: JSON builder does not handle properly GStrings
Author: alvarosanchez
Created: 2011-12-28 13:06:32+00:00
State: open

When post'ing JSON data, looks like the builder only allows String values.

The following fails with a StackOverflowException

```groovy
def value = "a"
client.post() {
json param: value
}
```

The following works:

```groovy
def value = "a"
client.post() {
json param: value.toString()
}
```