Skip to content

Use reviver and replacer in json type #1

Description

@sitegui

Somehow tell the lib a replacer function to JSON.stringify and a reviver for JSON.parse

This would help with clubedaentrega/log-sink#3

Note that message property is non-enumerable. Related discussion at http://stackoverflow.com/questions/18391212/is-it-not-possible-to-stringify-an-error-using-json-stringify

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions