Starting comparison of json value to json value.
This commit is contained in:
parent
9851a2556d
commit
563fd1f6db
@ -164,7 +164,12 @@ impl CompareContextElement for serde_json::Value {
|
||||
// Handle other serde_json::Value
|
||||
match other.to_any().downcast_ref::<Self>() {
|
||||
None => (),
|
||||
Some(other_json_value) => return None, // TODO: Implement
|
||||
Some(other_json_value) => {
|
||||
return match (self, other_json_value) {
|
||||
// TODO: Implement
|
||||
_ => None,
|
||||
};
|
||||
}
|
||||
}
|
||||
// Handle string literals
|
||||
match other.to_any().downcast_ref::<String>() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user