I have a JSON free text field that allows maximum 1000 characters.
I want to check whether user is able to send paragraphs,
so when I parse the text to string using online tools some extra characters like \n\r
are coming up.
After this character counter tools shows more than 1000 character after converting text to JSON string but still the request works successfully and doesn't throw error which was expected as character count is showing more than 1000.
I am not sure how to count the max character in JSON. Could some one help me?