SyntaxFix
Write A Post
Hire A Developer
Questions
You can't get value when calling getJSON, only after response.
getJSON
var myjson; $.getJSON("http://127.0.0.1:8080/horizon-update", function(json){ myjson = json; });