JSONValueEncoder is used for converting an object that implements the Encodable intraface into a JSONValue
public class JSONValueEncoder