Limits of JSON Round‑Trip in p5.js: Preserving Complex Object Behavior
Goal To reliably export sketch state with saveJSON() and restore it with loadJSON() while keeping methods, prototypes, and p5.Vector behavior intact. Constraints & Uncertainty JSON serialization removes functions and prototype links; exported objects become plain data. p5.Vector instances lose their attached methods when round‑tripped. loadJSON() is asyn