Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PickleDB has problems with serialization #34

Open
SamTV12345 opened this issue Jun 19, 2023 · 0 comments
Open

PickleDB has problems with serialization #34

SamTV12345 opened this issue Jun 19, 2023 · 0 comments

Comments

@SamTV12345
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant