data reading & converting in python script node.

Hello Community,

I am currently working with data in JSON format and am attempting to convert it into a Python dictionary using a Python Script Node in KNIME. However, I seem to have encountered an issue, and the error message I’m receiving is as follows:

TypeError: the JSON object must be str, bytes, or bytearray, not Series.

I suspect that I might be missing a step or making an error somewhere in the process. Could someone please guide me on how to read JSON data into a Python Script Node and convert it into a Python dictionary?

Any assistance or insights would be greatly appreciated.

Thank you in advance!