JSON data format
Hi,
I am presently trying to solve an ASM block issues concerning JSON formatted data. We have a VIP to which a ASM policy is associated. This ASM policy has a XML and JSON profile added. The ASM is blocking the JSON data with a message VIOL_JSON_MALFORMED malformed Document.The JSON data in question is
"{\"Inputs\":[{\"ATPONumber\":\"test12345\",\"CEPDay\":365}]}"
In the above data if i remove the start and end " and the \, then it passes. But the customer is not willing to do that
I used a online tool https://jsonformatter.curiousconcept.com/ to validate the format of the JSON data
In the above mentioned site, there are two JSON standard RFC's to choose from, the default is RFC 4627, with this RFC the validation fails. With RFC 7159 selected, the data is passed as a valid JSON format
I used another online tool jsonlint, where this data is marked as valid
Now my question is, what standards are used in F5 ASM for JSON validation. I could not find this information.