mehandih / grails-jaxrs

Automatically exported from code.google.com/p/grails-jaxrs
0 stars 0 forks source link

attribute List not JSON-marshalled #73

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Class Foo {
  id = 1
  List l = [1,2]
}

What is the expected output? What do you see instead?
When a controller return an instance of class Foo the List attribute
l isn't marshalled into JSON (it's ignored).

expected output:
 {
    "class": "Foo",
    here should be the l JSON-marshalled
    "id": 1,
 }

what I see:
 {
    "class": "Foo",
    "id": 1,
 }

What version of the product are you using? On what operating system?
jaxrs 0.6, Grails 2.1.1, Ubuntu

Please provide any additional information below.

Original issue reported on code.google.com by mich...@gmail.com on 1 Mar 2013 at 9:52