Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The toJSON()
method of Temporal.PlainTime
instances returns a string representing this time in the same RFC 9557 format as calling toString()
. It is intended to be implicitly called by JSON.stringify()
.