To convert pandas dataframe columns into JSON, you can use the to_json() method provided by pandas. This method allows you to convert the dataframe into a JSON format. You can specify various options such as orient (e.g. 'records', 'index', 'columns', 'values'), date_format, double_precision, and others to customize the JSON output according to your requirements.