happens to me as well. the TOC is inserted automatically witout any problem, but when I use the [toc] shortcode, the JSON error is thrown. post it updated normally, but the error is thrown every time.
it is definitelly this plugin. when I disable it, everything works without errors