下面列出了com.fasterxml.jackson.annotation.JsonUnwrapped#com.fasterxml.jackson.annotation.JsonGetter 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。
@JsonGetter(value = "gasPrice")
public String getGasPrice() {
return gasPrice;
}
@JsonGetter(value = "r")
public String getR() {
return r;
}
@JsonGetter("mining")
public boolean isMining() {
return mining;
}
@JsonGetter("hashrate")
public int getHashrate() {
return hashrate;
}
@JsonGetter(value = "contractAddress")
public String getContractAddress() {
return contractAddress;
}
@JsonGetter("id")
public long getPersonId() {
return personId;
}
@JsonGetter(value = "address")
public String getAddress() {
return address;
}
@JsonGetter("isDefaultVersion")
public Boolean isDefaultVersion() {
return isDefaultVersion;
}
@JsonGetter("hash")
public String getHash() {
return hash.toHexString();
}
@JsonGetter(value = "removed")
public boolean isRemoved() {
return removed;
}
@JsonGetter(value = "s")
public String getS() {
return s;
}
@JsonGetter("miner")
public Address getMiner() {
return miner;
}
@JsonGetter("gasUsed")
public long getGasUsed() {
return gasUsed;
}
@JsonGetter(value = "input")
public String getInput() {
return input;
}
@JsonGetter(value = "value")
public String getValue() {
return value;
}
@JsonGetter(value = "to")
public String getTo() {
return to;
}
@JsonGetter(value = "proposedBlockCount")
public String getProposedBlockCount() {
return Quantity.create(proposedBlockCount);
}
@JsonInclude(Include.NON_NULL)
@JsonGetter("params")
public Object[] getParams() {
return params;
}
@JsonGetter(value = "id")
public String getId() {
return id;
}
@JsonGetter(value = "contractAddress")
public String getContractAddress() {
return contractAddress;
}
@JsonGetter(value = "value")
public String getValue() {
return value;
}
@JsonGetter(value = "transactionHash")
public String getTransactionHash() {
return transactionHash;
}
@JsonGetter(value = "logIndex")
public String getLogIndex() {
return logIndex;
}
@JsonGetter("revertReason")
public String getRevertReason() {
return revertReason;
}
@JsonGetter(value = "privateFrom")
public String getPrivateFrom() {
return privateFrom;
}
@JsonGetter(value = "hash")
public String getHash() {
return hash;
}
@JsonGetter(value = "blockNumber")
public String getBlockNumber() {
return blockNumber;
}
@JsonGetter("os_v")
public String getOSVersion() {
return osVer;
}
@JsonGetter(value = "structLogs")
public List<StructLog> getStructLogs() {
return structLogs;
}
@JsonGetter("params")
public SubscriptionResponseResult getParams() {
return params;
}