Starting comparison of json value to json value.

This commit is contained in:
Tom Alexander 2020-05-16 13:44:34 -04:00
parent 9851a2556d
commit 563fd1f6db
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -164,7 +164,12 @@ impl CompareContextElement for serde_json::Value {
// Handle other serde_json::Value // Handle other serde_json::Value
match other.to_any().downcast_ref::<Self>() { match other.to_any().downcast_ref::<Self>() {
None => (), 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 // Handle string literals
match other.to_any().downcast_ref::<String>() { match other.to_any().downcast_ref::<String>() {