Skip to content

Commit 5d75ddc

Browse files
authored
JIRA-WDT-544 - In JSON parser, convert booleans to lower-case string value (#847)
1 parent c5ac612 commit 5d75ddc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/main/java/oracle/weblogic/deploy/json/AbstractJsonTranslator.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2020, Oracle Corporation and/or its affiliates.
2+
* Copyright (c) 2017, 2021, Oracle and/or its affiliates.
33
* Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
44
*/
55
package oracle.weblogic.deploy.json;
@@ -240,7 +240,7 @@ public void exitJsonNumber(JSONParser.JsonNumberContext ctx) {
240240
*/
241241
@Override
242242
public void enterJsonTrue(JSONParser.JsonTrueContext ctx) {
243-
currentScalarValue = new PyString("True");
243+
currentScalarValue = new PyString("true");
244244
currentValueType.push(ValueType.SCALAR);
245245
}
246246

@@ -257,7 +257,7 @@ public void exitJsonTrue(JSONParser.JsonTrueContext ctx) {
257257
*/
258258
@Override
259259
public void enterJsonFalse(JSONParser.JsonFalseContext ctx) {
260-
currentScalarValue = new PyString("False");
260+
currentScalarValue = new PyString("false");
261261
currentValueType.push(ValueType.SCALAR);
262262
}
263263

0 commit comments

Comments
 (0)