{"ScriptPreparationCode":"var contentType = \u0027foo\u0027;","TestCases":[{"Name":"String functions","Code":"(_.includes(contentType, \u0027application/json\u0027) || (_.startsWith(contentType, \u0027application/\u0027) \u0026\u0026 _.includes(contentType, \u0027\u002Bjson\u0027)))","IsDeferred":false},{"Name":"Regex","Code":"contentType.match(/application\\/(json|.*\\\u002Bjson)/);","IsDeferred":false}]}