[2] Stojanović graduated from the military academy with the 22nd class and became an infantry lieutenant in 1892.
After the conquest of Rajčanski rid, as a key ground for victory in the Battle of Bregalnica, the commander of the First Army, Crown Prince Alexander I, was so delighted with the performance of the XII Regiment that he personally approached Stojanović (who commanded the unit), congratulated him, and removed the Order of Karađorđe's Star (with swords) from his chest and personally stuck it on the chest of Stojanović.
[3] In the First World War in 1914, his Second Iron Regiment took part in the Battle of Cer, in its very center, on Tekeriš.
A comic book publisher dedicated to the First World War called Linije fronta (Front Lines) published the comic book Gvozdeni (Iron) dedicated to Stojanović and his death during the Battle of Kolubara.
In the film King Petar of Serbia, Stojanović is played by actor Dragan Boža Marjanović.