Skip to content

feat: add pino.raw() for serializers#2393

Open
DemianParkhomenko wants to merge 1 commit intopinojs:mainfrom
DemianParkhomenko:feat/raw-serializer
Open

feat: add pino.raw() for serializers#2393
DemianParkhomenko wants to merge 1 commit intopinojs:mainfrom
DemianParkhomenko:feat/raw-serializer

Conversation

@DemianParkhomenko
Copy link
Copy Markdown

closes: #1846

}

function stringify (obj, stringifySafeFn) {
if (obj !== null && typeof obj === 'object' && rawJSONSym in obj) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you just keep the last check?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Successfully merging this pull request may close these issues.

serializer that returns string directly instead of object?

2 participants