We need to wait the Jersey team to wake up :) perhaps they are just
quiet because the pressure of the Canadians in the Hockey game :)
see you tomorrow, night here at Switzerland......... too late for me........
2010/2/28 John Lister <john.lister_at_kickstone.co.uk>:
> BTW, using a value of null as I required seems to match the JSON spec,
> whereas using {nill:true} looks to more closely mirror the XML output?
>
> Thanks
>
> John
>
> Felipe Gaścho wrote:
>>
>> please post again your class definition...
>>
>> but I checked here and it seems to be {nill:true}
>>
>> an example of my own code:
>>
>> curl -XGET -HAccept:application/json
>> http://fgaucho.dyndns.org:8080/arena-http/homework
>>
>>
>>
>> On Sun, Feb 28, 2010 at 10:39 PM, John Lister
>> <john.lister_at_kickstone.co.uk> wrote:
>>
>>>
>>> Felipe Gaścho <fgaucho_at_gmail.com> wrote:
>>>
>>>>>
>>>>> you need natural notation...........
>>>>>
>>>
>>> Ok, I've got natural notation working, but there is still a problem:
>>>
>>> I now get:
>>> {
>>> aValue: 123,
>>> nullValue: {
>>> nill: true
>>> }
>>> }
>>>
>>>
>>> whereas I would like to have
>>> {
>>> aValue: 123,
>>> nullValue: null
>>> }
>>>
>>>
>>> Any ideas?
>>>
>>> Thanks
>>>
>>> John
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
--
------------------------------------------
Felipe Gaścho
10+ Java Programmer
CEJUG Senior Advisor