Comparing version 0.1.23 to 0.1.24
@@ -168,3 +168,3 @@ "use strict"; | ||
//let content:string = "{\"" + source.array + "\":" + JSON.stringify(this.people) + "}"; | ||
sc.add("let content:string = \"{\\\"" + source.array + "\\\":\" + JSON.stringify(this.people) + \"}\";", 2); | ||
sc.add("let content:string = \"{\\\"" + source.array + "\\\":\" + JSON.stringify(this." + source.array + ") + \"}\";", 2); | ||
//sc.add("content = content.replace(\"\\\"_\", \"\\\"\");", 2); | ||
@@ -171,0 +171,0 @@ sc.add("fs.writeFile(\"" + source.file_json + "\", content, err => {", 2); |
@@ -164,3 +164,3 @@ //Imports | ||
//let content:string = "{\"" + source.array + "\":" + JSON.stringify(this.people) + "}"; | ||
sc.add("let content:string = \"{\\\"" + source.array + "\\\":\" + JSON.stringify(this.people) + \"}\";", 2); | ||
sc.add("let content:string = \"{\\\"" + source.array + "\\\":\" + JSON.stringify(this." + source.array + ") + \"}\";", 2); | ||
//sc.add("content = content.replace(\"\\\"_\", \"\\\"\");", 2); | ||
@@ -167,0 +167,0 @@ sc.add("fs.writeFile(\"" + source.file_json + "\", content, err => {", 2); |
{ | ||
"name": "ylenia", | ||
"version": "0.1.23", | ||
"version": "0.1.24", | ||
"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
47233