@webtypen/webframez-core 0.0.61 → 0.0.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -192,7 +192,7 @@ class RouterFacade {
192
192
  * Parses JSON without exception
193
193
  */
194
194
  parseJson(jsonObject) {
195
- let json = null;
195
+ let json = {};
196
196
  try {
197
197
  json = JSON.parse(jsonObject);
198
198
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webtypen/webframez-core",
3
- "version": "0.0.61",
3
+ "version": "0.0.62",
4
4
  "description": "The core package of the typescript based webframez (web-framework) by webtypen.de",
5
5
  "homepage": "https://webtypen.de/",
6
6
  "license": "MIT",
@@ -222,7 +222,7 @@ class RouterFacade {
222
222
  * Parses JSON without exception
223
223
  */
224
224
  parseJson(jsonObject: any) {
225
- let json = null;
225
+ let json: any = {};
226
226
  try {
227
227
  json = JSON.parse(jsonObject);
228
228
  } catch(e: any) {