Converts an object (e.g. tuple) to a key-value/JSON object.
Parameter
Example
out = TOKEYVALUE(in)