Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Param.js to intuitively request JSON data #847

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dkswndud1992
Copy link

Public API Changes

There is an inconvenience of having to do JSON.stringify again when setting parameters.

Description

If you receive a parameter with get, the data will be received as a number 0, but if you try to modify it with set, you need to JSON.stringify the value again. For example, setting it as {name:"intParam",value:0} will not work, but setting it as {name:"intParam",value:\"0\"} will work.

#237
It's not the same problem, but it's a similar problem.

If you receive a parameter with get, the data will be received as a number 0, but if you try to modify it with set, you need to JSON.stringify the value again. For example, setting it as {name:"intParam",value:0} will not work, but setting it as {name:"intParam",value:`\"0\"`} will work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant