Skip to content

Commit

Permalink
updates to revert of methods in core
Browse files Browse the repository at this point in the history
  • Loading branch information
jclausen committed Nov 27, 2024
1 parent 70ead20 commit 2b423d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/ortus/boxlang/modules/wddx/util/WDDXUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,11 @@ public static String serializeQuery( Query obj ) {
String serialization = "<"
+ classKey.getName()
+ " rowCount=\"" + obj.getData().size() + "\""
+ " fieldNames=\"" + obj.columnList() + "\""
+ " fieldNames=\"" + obj.getColumnList() + "\""
+ " type=\"" + obj.getClass().getName() + "\""
+ ">";

serialization += obj.columnArray().stream().map( ( column ) -> {
serialization += obj.getColumnArray().stream().map( ( column ) -> {

String field = "<field name=\"" + column + "\">";

Expand Down Expand Up @@ -203,7 +203,7 @@ public static String serializeQuery( Query obj ) {
public static String serializeToJavascript( Object obj, String variableName ) {
Key serializeKey = Key.of( "JSONSerialize" );
IStruct serializeArgs = Struct.of(
Key.var, obj,
Key.data, obj,
Key.queryFormat, "row",
Key.useSecureJSONPrefix, false,
Key.useCustomSerializer, false
Expand Down

0 comments on commit 2b423d2

Please sign in to comment.