Convert message to JSON problem


I'm trying to convert string to JSON. The string is a message which Node Red receives via UDP.
The message is:
{"method": "GET", "address": ""}
Debugger says - "Unexpected token in JSON at position 57"

Have you got any ideas how to handle this?


are you sure it’s a string what you have shared appears to be a javascript object.

What is your flow? If you send it straight from the UDP node to the debug what does it show?