I have a json-object, which I print to the screen (using alert()-function):
alert(object);
Here is the result:
Then I want
You will need to assign that to a var and then access it.
var
var object = {id: "someId"}; console.log(object); alert(object["id"]);