Skip to content

Commit 22e6519

Browse files
authored
JIRA WDT-532 - Don't convert true / false strings to boolean (#814)
1 parent 03526e5 commit 22e6519

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

core/src/main/python/wlsdeploy/json/json_translator.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,6 @@ def _format_json_value(value):
235235
builder = StringBuilder()
236236
if type(value) == bool:
237237
builder.append(JBoolean.toString(value))
238-
elif isinstance(value, types.StringTypes) and (value == 'true' or value == 'false'):
239-
builder.append(value)
240238
elif isinstance(value, types.StringTypes):
241239
builder.append('"').append(_escape_text(value.strip())).append('"')
242240
else:

0 commit comments

Comments
 (0)