Skip to content

Commit

Permalink
[#1984] Replace toString with JsonObject#encode
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideD committed Sep 27, 2024
1 parent b347a11 commit aea61d0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ private static String toJsonString(Object value) {
if ( value == null ) {
return null;
}
// Value should be a JsonObject
return value.toString();
return ( (JsonObject) value ).encode();
}
}

0 comments on commit aea61d0

Please sign in to comment.