01.if(oSession.HostnameIs("exemple.com")&& oSession.uriContains("login")) {02. // Color this response, so we can spot it in Fiddler03. oSession["ui-backcolor"] = "lime";04. 05. // Convert the request body into a string06. var oBody = System.Text.Encoding.UTF8.GetString(oSession.responseBodyBytes);07. 08. // Convert the text into a JSON object09. var j = Fiddler.WebFormats.JSON.JsonDecode(oBody);10. 11. // Inside of our dictionary, we have an array (ArrayList) called "placements"12. var testObject = j.JSONObject["teste"];13. /* Change this to different values, e.g. "0.0", 0.0, null, "", etc. */14. 15. j.JSONObject["auth"]="true";16. j.JSONObject["user"]="false";17. 18. 19. // Convert back to a byte array20. var modBytes = Fiddler.WebFormats.JSON.JsonEncode(j.JSONObject);21. 22. // Convert json to bytes, storing the bytes in request body23. var mod = System.Text.Encoding.UTF8.GetBytes(modBytes);24. oSession.ResponseBody = mod;25. 26. 27. 28.}