Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- header('Access-Control-Allow-Origin: *');
- header ('Content-Type: application/json');
- $jsondata = file_get_contents("credits.json");
- print_r(json_encode($jsondata));
- ?>
- {
- "credits": [
- {
- "creditId": 123,
- "id": 1,
- "client": "Peter",
- },
- {
- "creditId": 789,
- "id": 2,
- "client": "Jonas",
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement