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