Initial Commit

This commit is contained in:
Patrick Niebeling
2019-10-17 13:23:53 +02:00
parent 81699fd4a4
commit b699c1545c
49 changed files with 659 additions and 3 deletions

View File

@ -0,0 +1,10 @@
(function(jsonString) {
var newString = jsonString.replace('warnWetter.loadWarnings(','');
newString = newString.replace(');','');
var newJSON = JSON.parse(newString);
var jsonResult = "";
if (newJSON.warnings.hasOwnProperty('906438999')) {
jsonResult =JSON.stringify(newJSON.warnings['906438999'][0]);
} else jsonResult = 'NULL'
return jsonResult;
})(input)