Implementation of "isValidJSON" in typescript, javascript and deno.
Implementation of "JSONToFile" in typescript, javascript and deno.