cljs-dev 2025-08-12

Hello I'd like to discuss this behavior: (js/JSON.stringify (clj->js (random-uuid))) returns "{\"uuid\":\"3a3508fd-c89d-4cd6-8d9a-3191fd790703\",\"__hash\":null,\"cljs$lang$protocol_mask$partition0$\":2153775104,\"cljs$lang$protocol_mask$partition1$\":2048}" I'm not sure if clj->js should convert #uuid into a string Or if UUID#toJSON should stringify But I think the end result of clj->js + JSON.stringify should not show the internal structures of the cljs

@souenzzo changing stuff here now is probably a bad idea - can't you implement the conversion protocol for your case?