Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

JSON objects passed should be automatically parsed #86

Open
ericpearson opened this issue May 2, 2012 · 1 comment
Open

JSON objects passed should be automatically parsed #86

ericpearson opened this issue May 2, 2012 · 1 comment
Labels

Comments

@ericpearson
Copy link
Contributor

When you pass a JSON object from client to server through the window.webworks.exec functions, the object is automatically encoded and stringified.

On the server side (index,js) you MUST call JSON.parse(decodeURIComponent(args.args)) yourself as opposed to the framework doing it for you.

Is there any reason why this could not be done automatically for the user? We can detect if the parameter being passed is an object and handle it.

@nukulb
Copy link
Contributor

nukulb commented May 3, 2012

Impact:
Only troubles extensions developers, low priority please.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants