Skip to content

proposal: process.report.getReport() should return an Object #315

Closed
@boneskull

Description

@boneskull

If you're calling process.report.getReport(), you're probably going to want to modify the result in some way before transmitting it elsewhere--remove fields, redact sensitive information, etc.--but if it returns a JSON string, there's boilerplate involved in parsing the value to an Object.

process.report.getReport() should return a parsed JS Object instead of a JSON string.

Thoughts? cc @cjihrig

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions