public func encode(to encoder: Encoder) throws
Encodes this value into the given encoder.
null
JSONValue
bool(_:)
number(_:)
string(_:)
array(_:)
object(_:)