If you are asking a question, please follow this template:
-
My goal is: [describe your goal]
To json parse a buffer containing 1 or more valid json formatted strings. -
My actions are: [describe your actions - code, commands, etc]
-
The result I see is: [show the result - log, etc]
Invalid json -
My expectation & question is: [describe your expectation and your question]
I have multiple json messages in a buffer. I would like a simple method of pulling the individual messages from the buffer and parsing them using mjs or c. Is there a simple way to do this?