Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add methodstatic Response.json(data, init) #1444

Closed
@regseb

Description

@regseb

Hi,

A new method has been added:static Response.json(data, init) to create a response that contains JSON (not to be confused withResponse.prototype.json()).

declarevarResponse:{// ...json(data:any,init?:ResponseInit):Response;};

Support:


I found that in this project:

"Response": {
"methods": {
"method": {
// BCD's api.Response.json is not about the static method but about Body#json.
// See:
// Firefox https://bugzil.la/1758943
// Chrome https://crbug.com/1305358
// Safari https://webkit.org/b/240375
// MDN https://github.com/mdn/content/discussions/5121#discussioncomment-2735488
"json":null
}
}
},

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp