from myapp.models import MyModel
# Create a JSON data dictionary
json_data = {
"name": "Alice",
"email": "alice@example.com",
"age": 25
}
# Create a model instance and save it
my_instance = MyModel(json_data=json_data)
my_instance.save()