The site is on wordpress and I want to use the API via json. There is a true/false result and it manifests itself this way (true or false). How can I display it on the page online/offline? online - when the result is true offline - when the result is false
json
{"online": true}