diff --git a/src/main/java/no/nav/veilarbvedtaksstotte/service/JsonViewer.kt b/src/main/java/no/nav/veilarbvedtaksstotte/service/JsonViewer.kt index d0838759..7019a853 100644 --- a/src/main/java/no/nav/veilarbvedtaksstotte/service/JsonViewer.kt +++ b/src/main/java/no/nav/veilarbvedtaksstotte/service/JsonViewer.kt @@ -17,7 +17,7 @@ class JsonViewer() { return ""; } jsonObj = JSONObject(inputJson?.substring(inputJson.indexOf("{"), inputJson.lastIndexOf("}") + 1) ?: "") - val output = "
" + objToReact(jsonObj) + "
"; + val output = "
" + objToReact(jsonObj) + "
"; SecureLog.secureLog.info(output) return output; } @@ -38,7 +38,7 @@ class JsonViewer() { output += getLink(key, value) } output += "
"; - output += ""; + output += ""; output += prettifyKey(key) + ": "; output += ""; output += ""; @@ -47,7 +47,7 @@ class JsonViewer() { output += "
" } else if (value is JSONArray) { output += "
"; - output += "

" + prettifyKey(key) + "

"; + output += "

" + prettifyKey(key) + "

"; if (value.length() > 0) { output += ""; } else { - output += "

Ingen oppføringer

" + output += "

Ingen oppføringer

" } output += "
"; } else if (value is JSONObject) {