toJSON

open override fun toJSON(): JsAny(source)

The toJSON() method of the LargestContentfulPaint interface is a Serialization; it returns a JSON representation of the LargestContentfulPaint object.

MDN Reference