Don't use the JSON plugin? The point of it is to create JSON, but you
already have JSON.
On Feb 18, 2015 7:18 AM, "bavon mike" wrote:
> I already have a json string like:
>
> {"name": "Simple name", "description": "simple descriptio
I already have a json string like:
{"name": "Simple name", "description": "simple description"}
When using Struts 2 json plugin, it returns escaped string like:
{\"name\": \"Simple name\", \"description\": \"simpl
2014-11-05 13:41 GMT+01:00 Pavel Ilyushko :
> Hi there!
>
> Thanks for a swift reply.
>
> Actually, re-defining the root is what I applied as a work-around.
>
> So in my struts.xml I have this (to fix setting the parameters on the
> action):
>
>
> action
>
Hi there!
Thanks for a swift reply.
Actually, re-defining the root is what I applied as a work-around.
So in my struts.xml I have this (to fix setting the parameters on the
action):
action
and also for each json action type I have this (to
You can redefine root
http://struts.apache.org/release/2.3.x/docs/json-plugin.html#JSONPlugin-RootObject
2014-11-05 12:13 GMT+01:00 Pavel Ilyushko :
> Hello there!
>
> Recently I've upgraded our struts2 framework and its related plugins (eg:
> json plugin) from version 2.1.8 to version 2.3.16.3.
You can re-define root
http://struts.apache.org/release/2.3.x/docs/json-plugin.html#JSONPlugin-RootObject
2014-11-05 12:13 GMT+01:00 Pavel Ilyushko :
> Hello there!
>
> Recently I've upgraded our struts2 framework and its related plugins (eg:
> json plugin) from version 2.1.8 to version 2.3.16.3.
Hello there!
Recently I've upgraded our struts2 framework and its related plugins (eg:
json plugin) from version 2.1.8 to version 2.3.16.3.
Now I'm having problems in using the json plugin while making json requests
and returning the json responses.
The problem is that the parameter values passe
Hi,
I've just started using JSON plugin and noticed strange behaviour. It looks
like JSON annotation fields are completely ignored by the plugin. My action
looks like this:
public class TestAction extends ActionSupport {
private Date date;
@JSON(format = "-MM-dd HH:mm:ss Z")
publ
8 matches
Mail list logo