我试图在我的HTML UI中显示我的JSON数据,JSON对象正在返回,但我无法显示该对象.
这是我的JSON对象结构:

这是我的JS文件:
$(document).ready(function() {
console.log("ready!");
// on form submission ...
$('form').on('submit', function() {
console.log("the form has beeen submitted");
// grab values
valueOne = $('input[name="perfid"]').val();
valueTwo = $('input[name="hostname"]').val();
valueThree = $('input[name="iteration"]').val();
console.log(valueOne)
console.log(valueTwo)
console.log(valueThree)
$.ajax({
type: "POST",
url: "/",
datatype:'json',
data : { 'first': valueOne,'second': valueTwo,'third': valueThree},
success: function(result) {
$('#result').html(result.sectoutput.summarystats.Avg.Exempt)
},
error: function(error) {
console.log(error)
}
});
});
});
Run Code Online (Sandbox Code Playgroud)
我的结果div中没有任何结果.
编辑:
这是我的UI上的json.stringify(result)输出: