This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Help with deserializing JSON to Grails
Hugo Alberto Bedolla
Joined: Nov 09, 2010
Apr 02, 2013 09:36:26
Having a problem when readin a JSON object into my controller.
basically I get this output:
[application[prospect][contact]:kkkk, application[prospect][SSN]:ABC123456AB0, application[applicationDate]:Tue Apr 02 2013 09:22:06 GMT-0600, application[prospect][name]:ANAMEHERE, application[prospect][address]:The Address, action:saveApplication, controller:screenApplication]
So I know there is the object.
When trying to access my object using:
When trying to access any of its properties in this way:
When trying to "deserialize" using
def jsonobject = new JSONObject(JSON.parse(params["application"]))
What am I doing wrong when accesing the parameters?
subject: Help with deserializing JSON to Grails
Obtaining JSON object using params in grails REST
paramsPrepareParams OgnlException setProperty()
How to get url
struts2 (22.214.171.124) json result type problems
My AJAX Chained Selector Function (Enjoy!)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014