Skip to content

[Suggestion] JSON Reviver #1657

Description

@hyoretsu

I was using Kubb to generate React Query hooks with Ky as client but, as is normal, Response.json() returns dates as strings instead of Date(), so I used a simple reviver to fix this one case using Response.text() with JSON.parse().

A more compreensive reviver could be useful

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