Reading data as dictionary from Sqlite

I am saving a dictionary to SQLite as follows.

When reading the data back from the database I can see it as text but it is not read as a dictionary.

The block ‘is a dictionary’ returns false on the returned data. I will probably need to parse the text. How would I do that?

Thank you.

Just for your information: I am using Taifun’s sqlite extension, although this is probably irrelevant to the question.

Show us the output that you received from sql

With this as the response in textbox1:

"{"product":"Tissues 3 Ply","manufacturer":"","brand":"NoName","amount":"160","unit":"pcs"}"

I hope you got it how to proceed next

image

1 Like

Thank you. I got it to work with your help.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.