public class JsonKeyValuePair extends Object
| 构造器和说明 |
|---|
JsonKeyValuePair(String key,
Object value,
boolean usingKeyKeyword,
boolean usingValueKeyword) |
| 限定符和类型 | 方法和说明 |
|---|---|
StringBuilder |
append(StringBuilder builder) |
boolean |
equals(Object obj) |
String |
getKey() |
Object |
getValue() |
int |
hashCode() |
boolean |
isUsingFormatJson() |
boolean |
isUsingKeyKeyword() |
boolean |
isUsingValueKeyword() |
void |
setUsingFormatJson(boolean usingFormatJson) |
void |
setUsingKeyKeyword(boolean usingKeyKeyword) |
void |
setUsingValueKeyword(boolean usingValueKeyword) |
String |
toString() |
JsonKeyValuePair |
withUsingFormatJson(boolean usingFormatJson) |
JsonKeyValuePair |
withUsingKeyKeyword(boolean usingKeyKeyword) |
JsonKeyValuePair |
withUsingValueKeyword(boolean usingValueKeyword) |
public boolean isUsingKeyKeyword()
public void setUsingKeyKeyword(boolean usingKeyKeyword)
public JsonKeyValuePair withUsingKeyKeyword(boolean usingKeyKeyword)
public boolean isUsingValueKeyword()
public void setUsingValueKeyword(boolean usingValueKeyword)
public JsonKeyValuePair withUsingValueKeyword(boolean usingValueKeyword)
public boolean isUsingFormatJson()
public void setUsingFormatJson(boolean usingFormatJson)
public JsonKeyValuePair withUsingFormatJson(boolean usingFormatJson)
public String getKey()
public Object getValue()
public StringBuilder append(StringBuilder builder)
Copyright © 2026. All rights reserved.