"Struggling with jpython json.dumps annotation data type – any tips?"
Hey folks!
So I’ve been messing around with jpython json.dumps and keep hitting snags with the annotation data type stuff. Like, it *kinda* works but sometimes throws weird errors or misformats things.
Anyone else run into this?
Specifically, how do you handle custom types or nested data without it freaking out? I’ve tried a few hacks, but feels like I’m missing something obvious.
Also, does jpython json.dumps annotation data type even support custom classes, or do I gotta serialize everything manually?
Appreciate any pointers—thanks in advance!
(PS: sorry for typos, typing this on my phone lol)
Hey folks!
So I’ve been messing around with jpython json.dumps and keep hitting snags with the annotation data type stuff. Like, it *kinda* works but sometimes throws weird errors or misformats things.
Anyone else run into this?
Specifically, how do you handle custom types or nested data without it freaking out? I’ve tried a few hacks, but feels like I’m missing something obvious.
Also, does jpython json.dumps annotation data type even support custom classes, or do I gotta serialize everything manually?
Appreciate any pointers—thanks in advance!
(PS: sorry for typos, typing this on my phone lol)
