I am facing this error very often as it shows in this example, odoc/src/frontend/pages/file_content_page.tsx at f5f14854a12ddfa661c61d78ba06909a4b8a7b39 · aliscie/odoc · GitHub
However, I previously faced a similar issue with another project and I solved it using serde_json::from_str:
like this example, autodox-old/canisters/backend/src/files/update.rs at 02bac8b2376bfdf6ee67d8c461d2a19ef2432151 · aliscie/autodox-old · GitHub despite it is not a very good solution.
Any recommendation in order to solve this, please?