method default.prototype.toJSONimport { default } from "https://deno.land/x/enum@v3.0.4/lib/enumItem.js"; toJSON()Returns JSON object representation of this EnumItem.