Skip to content

Commit

Permalink
add NON_ABSENT back
Browse files Browse the repository at this point in the history
  • Loading branch information
nkramer44 committed Nov 3, 2024
1 parent c8cfa50 commit 29e3f04
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ default PublicKey signingPublicKey() {
Optional<NetworkId> networkId();

@JsonAnyGetter
@JsonInclude(Include.NON_ABSENT)
Map<String, Object> unknownFields();

}
Original file line number Diff line number Diff line change
@@ -1,26 +1,16 @@
package org.xrpl.xrpl4j.model.transactions;

import static org.assertj.core.api.Assertions.assertThat;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.google.common.base.Strings;
import com.google.common.collect.Maps;
import com.google.common.primitives.UnsignedInteger;
import org.immutables.value.Value.Immutable;
import org.json.JSONException;
import org.junit.jupiter.api.Test;
import org.xrpl.xrpl4j.crypto.keys.PublicKey;
import org.xrpl.xrpl4j.model.AbstractJsonTest;
import org.xrpl.xrpl4j.model.flags.TransactionFlags;
import org.xrpl.xrpl4j.model.transactions.AccountSet.AccountSetFlag;

import java.util.HashMap;
import java.util.Optional;

class UnknownTransactionTest extends AbstractJsonTest {

Expand Down

0 comments on commit 29e3f04

Please sign in to comment.