I am trying to work with an API to get JSON pulled from online, it keeps interpreting text as objects, if you compare the output this gives and the source of the link, it fails to grab some key information.
$(document).ready(function() {
$.getJSON("http://www.dnd5eapi.co/api/races/1", function(result) {
$.each(result, function(i, field) {
$("#output").append(field + "</br> ");
});
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<div id="output"></div>