Defaults
Assignment file: | usys.asn or application initialization file |
Section: | [SETTINGS] |
Default value: | 0
|
Description
When set to 1
, websave formats the output with line
breaks and indents to make it more human-readable.
Caution: This setting is intended for debugging purposes. It should not be used in a production environment because it causes the data to double in size and also sens the spaces to the browser.
Output with $JSON_INDENT and $JSON_SHOWNAMES
The following example loads a JSON stream was produced with both $JSON_SHOWNAMES and $JSON_INDENT set to true
:
{ "#2" : { "nm" : "JAPAN.JAPAN", "type" : "entity", "occs" : [ { "id" : "BhJDMTIzNA==", "crc" : "00000021", "status" : "est", "#3" : { "nm" : "ID.JAPAN.JAPAN", "value" : "1234" }, "#4" : { "nm" : "BRAND.JAPAN.JAPAN", "value" : "SONY" }, "#5" : { "nm" : "DESCRIPTION.JAPAN.JAPAN", "value" : "\u3044\u307E" } } ] }, "#6" : { "nm" : "DUM.JAPAN", "type" : "entity", "occs" : [ { "id" : "VE1QOjQ3ODM0M2RhXzFfYmJmNTAw", "crc" : "", "status" : "new", "#7" : { "nm" : "PB1.DUM.JAPAN", "value" : "MickeyMouse" }, "#8" : { "nm" : "PB2.DUM.JAPAN", "value" : "DonaldDuck" } } ] } }