[AstroPy] QTable conversion to JSON

Sirio Negri ziriuz84 at gmail.com
Sat Jun 3 03:43:25 EDT 2023


Hi all!

I’m trying to convert a QTable to a json object thorugh this function 
https://pastebin.com/hH22bsMW. I have this error |TypeError: Object of 
type Time is not JSON serializable|.
I think I must convert the *Date* column to some iso format, but I don’t 
know how.

Any help?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/astropy/attachments/20230603/853c536f/attachment.html>


More information about the AstroPy mailing list