JSON Tool Underscore

Confluence User - 26 Apr, 2023

It appears that the JSON Tool puts underscore "_" to separate every field in the JSON body, example below:


{"CustomAction": "New_Program_joget_test2",_    "targetId" : "/Organization/xxxxxxx",_     "values": [_             {_                "fieldName":"Supplier",_                "value" : "Pangeo Corporation"_             },_             {_                "fieldName":"CustomerInterface",_                "value" : "Pangeo Corporation"_             },_             {_                 "fieldName":"ProgramNumber",_                 "value":"9999"_             },_             {_                 "fieldName":"ProgramName",_                 "value":"2265+AGRIKON+test+test+Program"_             },_             {_                 "fieldName":"ProjectManager",_                 "value":""_             },_              {_                 "fieldName":"PM_HOD",_                 "value":""_             },_            {_                 "fieldName":"Application",_                 "value":"test"_             },_             {_                 "fieldName":"Customer",_                 "value":"C-2401"_             },_             {_                 "fieldName":"PartNumber",_                 "value":""_             },_             {_                 "fieldName":"PartName",_                 "value":"test"_             },_             {_                 "fieldName":"AnnualVolume",_                 "value":"1"_             },_             {_                 "fieldName":"SpecialConsiderations",_                 "value":""_             }_              ]_}_



does anyone know how to configure the JSON Tool to not to have the underscore?

jsontool

1


28 Apr, 2023
confluenceUser
confluenceUser

You can ignore the underscore. It is added by Log4J when there is new line so that it would fit in a single line in the server log.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print