Skip to content
This repository was archived by the owner on Dec 20, 2025. It is now read-only.
This repository was archived by the owner on Dec 20, 2025. It is now read-only.

JSON Output format #75

@avinash2015

Description

@avinash2015

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:

:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions