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

JSON Output format #75

Open
avinash2015 opened this issue Jan 7, 2015 · 0 comments
Open

JSON Output format #75

avinash2015 opened this issue Jan 7, 2015 · 0 comments

Comments

@avinash2015
Copy link

I have following JSON format which comes dynamically:
{
"JSON": [
{
"key": "a",
"val": "aaa",
"sub": [
{
"key": "b",
"val": "bbb"
}
]
}
]
}
And I want to convert it in following output:

{
"JSON": [
{
"a": "aaa",
"sub": [
{
"b": "bbb"
}
]
}
]
}

Instead of key word I want actual Key-Value and instead of value word I want actual value.
So where to modify form2js.
My HTML is:

:

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

No branches or pull requests

1 participant