input: Write a python function to convert a dictionary to a JSON object.
  assert convert_to_json({"name": "John", "age": 30}) == '{"name": "John", "age": 30}'
  assert convert_to_json({"city": "New York", "population": 8419000}) == '{"city": "New York", "population": 8419000}'
  assert convert_to_json({"isActive": True, "balance": 1234.56}) == '{"isActive": true, "balance": 1234.56}'
output: import json
  
  def convert_to_json(dictionary):
      return json.dumps(dictionary)