from rest_framework import serializers

from utils.models import JsonToType


class JsonToTypeSerializer(serializers.ModelSerializer):

    class Meta:
        model = JsonToType
        fields = ['id', 'title', 'json_data', 'type_data', 'created_at', 'updated_at','is_active']
