Escape quotes in JSON

Hello! It seems like serialization to JSON does not work fine.
If you add a double quote to event name (i.e. badEvent"Name) and try to save contents of scheduler with scheduler.toJSON() you recieve JSON with unescaped quotes.

Same reaction in your example: … _json.html


please find attached a fixed version of the serialize extension.
The fix will be also included in our next update.
Thanks for your assistance ! (1.12 KB)

Thank you for such fast solution :slight_smile:
But there is one more bug. Backslash as last symbol in event name breakes JSON too.


thanks for the problem report. Fixed version is attached! (1.13 KB)