Return JSON Return JSON directly from a Worker script, useful for building APIs and middleware. JavaScript TypeScript Python