Skip to content

PickleDB has problems with serialization #34

Open
@SamTV12345

Description

@SamTV12345

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions