Skip to content

Commit

Permalink
0.2.4 - fixes to and, avg and flatten functions
Browse files Browse the repository at this point in the history
  • Loading branch information
elisherer committed Aug 5, 2024
1 parent e477c14 commit 767a239
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion java/json-transform/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
}

group 'co.nlighten'
version = '0.2.3'
version = '0.2.4'

ext {
gsonVersion = "2.10.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private JE flatten(JE source, JO target, String prefix, String arrayPrefix) {
for (var i = 0; i < size; i++) {
flatten(adapter.jArray.get(ja, i), target, (prefix == null ? "" : (prefix + ".")) + arrayPrefix + i, arrayPrefix);
}
} else {
} else if (prefix != null) {
adapter.jObject.add(target, prefix, ja);
}
} else {
Expand Down

0 comments on commit 767a239

Please sign in to comment.