method UserAgent.prototype.toJSONimport { UserAgent } from "https://deno.land/x/oak@v13.1.0/deps.ts"; toJSON(): { browser: Browser; cpu: Cpu; device: Device; engine: Engine; os: Os; ua: string; }Converts the current instance to a JSON representation. Returns{ browser: Browser; cpu: Cpu; device: Device; engine: Engine; os: Os; ua: string; }