< Ω Skill Recommendation: Web Technologies

Using PHP for JSON responses

HTL Rennweg

Show in app

Description

Using PHP to serve JSON responses from a web server.

Goals

I know

  • how to use PHP to output JSON
  • which interface to implement in order to convert a PHP object to JSON using json_encode()

I can

  • use PHP to serve a correct JSON response
  • prepare a class I have written so that json_encode() can be used for it

Maintainer

Ferdinand Kasper HTL Rennweg