import json
from myapp.models import MyModel
# JSON data as a string
json_string = '{"name": "Bob", "email": "bob@example.com", "age": 35}'
# Parse JSON string into a Python dictionary
json_data = json.loads(json_string)
# Create a model instance and save it
my_instance = MyModel(json_data=json_data)
my_instance.save()