public static class JsonDiff.AddedKey extends JsonDiff.KeyDiff
| Constructor and Description |
|---|
AddedKey(String leftPath,
String rightPath,
JsonObjectLocation leftContext,
JsonObjectLocation rightContext,
String key,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
String |
getType() |
void |
mergeToLeft(JsonDiff diff) |
void |
mergeToRight(JsonDiff diff) |
getKey, getLeftParent, getRightParent, getValue, toStringgetLeftContext, getLeftPath, getRightContext, getRightPathpublic AddedKey(String leftPath, String rightPath, JsonObjectLocation leftContext, JsonObjectLocation rightContext, String key, Object value)
public String getType()
getType in interface JsonDiff.DifferencegetType in class JsonDiff.AbstractDiffpublic void mergeToRight(JsonDiff diff)
mergeToRight in interface JsonDiff.DifferencemergeToRight in class JsonDiff.AbstractDiffpublic void mergeToLeft(JsonDiff diff)
mergeToLeft in interface JsonDiff.DifferencemergeToLeft in class JsonDiff.AbstractDiffCopyright © 2017. All Rights Reserved.