method UserAgent.prototype.toJSONimport { UserAgent } from "https://deno.land/std@0.222.1/http/mod.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; }