I want to convert this queryset to json.
json.dumps() does not work.
serialize does not work.
json.dumps() + list() does not work
how can I convert querset to json?
maybe the reason these conversions are not work is in here.
I know that Models.objects.all() or Models.objects.all().only() return queryset, Models.objects.all().values() returns list of dict.
I want to add a new key-value set to the first queryset, So I use Models.objects.all().values()
but when I add a new key-value set, I think, the datatype is twisted. so now the datatype of 'questionRequeestList' is neither 'List' nor 'Queryset' at converting to json.
how can I convert this value to json? or how can I add new queryset to another queryset dict?