ComfyUI/comfy_extras
asagi4 68adca5318 NaN-safe JSON serialization
json.dumps() will produce nonstandard JSON if there are NaNs in the data.
Javascript's JSON.parse() will refuse to load this kind of "JSON".

At least the is_changed key can be NaN or something else if a node returns NaNs
from its IS_CHANGED function.

Fortunately, json.loads() allows parsing NaN's into Nones, so round-tripping
once is a pretty easy fix.
2024-03-14 22:53:42 +02:00
..
2024-03-14 22:53:42 +02:00
2024-03-04 00:31:59 -05:00
2024-02-21 10:33:03 +01:00
2023-12-20 16:22:18 -05:00