pickledb-rs icon indicating copy to clipboard operation
pickledb-rs copied to clipboard

PickleDB has problems with serialization

Open SamTV12345 opened this issue 2 years ago • 0 comments

So I put into the db a postman collection with key being the postman id of the collection.

    for kv in db.iter() {
        let collection = kv.get_value::<String>();
        if collection.is_some() {
            //collections.push(collection.unwrap()) ; // Doesnt work
            collections.push(serde_json::from_str::<Spec>(&collection.unwrap()).unwrap());  //  works
        }
    }

If required I can grant you access to the app.

SamTV12345 avatar Jun 19 '23 19:06 SamTV12345