fn is_item_good(item: &Item) -> bool {
        let value: serde_json::Value =
            serde_json::from_str(&item.json_encoded_props).unwrap();

        value["mood"] == "grumpy" && value["sentiment"] == "disappointment"
    }
// make a decision based on json contents

make a decision based on json contents
make a decision based on json contents
fn is_item_good(item: &Item) -> bool {
        let value: serde_json::Value =
            serde_json::from_str(&item.json_encoded_props).unwrap();
        value["mood"] == "grumpy" && value["sentiment"] == "disappointment"
    }
fn is_item_good ( item : & Item ) -> bool { let value : serde_json :: Value = serde_json :: from_str ( & item . json_encoded_props ) . unwrap ( ) ; value [ " " ] == " " && value [ " " ] == " " }
make a decision based on json contents
make a decision based on json contents
item
&Item
item
&Item