Skip to content

Commit

Permalink
fix for java playground
Browse files Browse the repository at this point in the history
  • Loading branch information
elisherer committed Nov 13, 2024
1 parent 164dccd commit 06c992c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public GsonBuilderCustomizer typeAdapterRegistration() {
return builder -> {
builder
.setDateFormat(dateTime)
.serializeNulls()
.registerTypeAdapter(BigDecimal.class, new BigDecimalTypeAdapter())
.setNumberToNumberStrategy(ToNumberPolicy.BIG_DECIMAL)
.setObjectToNumberStrategy(ToNumberPolicy.BIG_DECIMAL);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import java.util.Map;

public class TransformTestRequest {
public Object input;
public JsonElement input;
public JsonElement definition;
public Map<String, Object> additionalContext;
}

0 comments on commit 06c992c

Please sign in to comment.