Skip to content

JSON.parse #2

@cphill02

Description

@cphill02

try {
return JSON.parse(value);
} catch(e) {
return value;
}

This is quite interesting, but caution that it is IE8+ dependent.

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