Validate JSON data before sending request

Hi,

Quick question…

If I have a multi-line input element setup, and I wanted to use it’s value as a source of data to be parsed into an API request, then do we have anyway to validate the data first in Bubble?

“VALUE”:“MyMultiLineInputFieldValue”

Reason I ask is because I’m thinking if double quotes (for example) are typed into it, then it will break the request?

Do we have anything in Bubble like a JSON parser that will check for things like that? Or do we need to use Regex/Find & Replace?