Object of type is not json serializable. Метод json в python. json python типы данных. дамп json пример. пример работы json python.