Class JsonConvertTo

java.lang.Object
org.apache.drill.exec.expr.fn.impl.conv.JsonConvertTo

public class JsonConvertTo extends Object
The two functions defined here convert_toJSON and convert_toEXTENDEDJSON are almost identical. For now, the default behavior is to use simple JSON (see DRILL-2976). Until the issues with extended JSON types are resolved, the convert_toJSON/convert_toSIMPLEJSON is consider the default. The default will possibly change in the future, as the extended types can accurately serialize more types supported by Drill. TODO(DRILL-2906) - review the default once issues with extended JSON are resolved