SOAP is ‘enterprise’ standard and there are SOAP implementations in most environments and frameworks. it considered mature and stable, has strong typing, etc. but it gives more overhead.
JSON is used mostly in frontent (javascript) with simple services, is very lazy when comes to data format, but is ‘human readable’ and fast.