Skip to content

Commit

Permalink
Enable the parsed value in the output
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Jul 26, 2023
1 parent 4b3bb8f commit 8dfffe7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/grobid/core/data/Quantity.java
Original file line number Diff line number Diff line change
Expand Up @@ -238,14 +238,14 @@ public String toJson() {
json.append("\"parsedValue\" : " + parsedValue.toJson());
}

/*if (parsedUnit != null) {
if (parsedUnit != null) {
if (!started) {
started = true;
} else {
json.append(", ");
}
json.append("\"parsedUnit\" : " + parsedUnit.toJson());
}*/
}

if (isNormalized()) {
if (!started) {
Expand Down

0 comments on commit 8dfffe7

Please sign in to comment.