@tanstack/router-core
Version:
Modern and scalable routing for React applications
11 lines (10 loc) • 310 B
JavaScript
//#region src/ssr/json.ts
/**
* @deprecated Use [`Response.json`](https://developer.mozilla.org/en-US/docs/Web/API/Response/json_static) from the standard Web API directly.
*/
function json(payload, init) {
return Response.json(payload, init);
}
//#endregion
export { json };
//# sourceMappingURL=json.js.map