Comparing version 0.1.20 to 0.1.21
@@ -165,3 +165,3 @@ "use strict"; | ||
//let content:string = "{\"" + source.array + "\":" + JSON.stringify(this.people) + "}"; | ||
sc.add("let content:string = \"{\\\"\"" + source.array + "\\\":}", 2); | ||
sc.add("let content:string = \"{\\\"" + source.array + "\\\":\" + JSON.stringify(this.people) + \"};", 2); | ||
//sc.add("content = content.replace(\"\\\"_\", \"\\\"\");", 2); | ||
@@ -168,0 +168,0 @@ sc.add("fs.writeFile(\"" + source.file_json + "\", content, err => {", 2); |
@@ -161,3 +161,3 @@ //Imports | ||
//let content:string = "{\"" + source.array + "\":" + JSON.stringify(this.people) + "}"; | ||
sc.add("let content:string = \"{\\\"\"" + source.array + "\\\":}", 2); | ||
sc.add("let content:string = \"{\\\"" + source.array + "\\\":\" + JSON.stringify(this.people) + \"};", 2); | ||
//sc.add("content = content.replace(\"\\\"_\", \"\\\"\");", 2); | ||
@@ -164,0 +164,0 @@ sc.add("fs.writeFile(\"" + source.file_json + "\", content, err => {", 2); |
{ | ||
"name": "ylenia", | ||
"version": "0.1.20", | ||
"version": "0.1.21", | ||
"description": "TypeScript-DataSources for JSON. Generates dynamic TypeScript-Classes and JSON-Files.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
46828