toJSON

open override fun toJSON(): Any(source)

MDN Reference