Browsed by
Tag: code

Convert XML to JSON

Convert XML to JSON

Recently, we started using a new vendor at work. This particular vendor still uses XML for their API endpoints. I don’t particularly like working with XML in PHP, so I converted it JSON which is much easier to work with.