rfc:json_encode_indentation
Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
rfc:json_encode_indentation [2021/06/03 13:49] – created tdgroot | rfc:json_encode_indentation [2021/06/03 13:57] – tdgroot | ||
---|---|---|---|
Line 4: | Line 4: | ||
* Author: Timon de Groot, tdegroot96@gmail.com | * Author: Timon de Groot, tdegroot96@gmail.com | ||
* Status: Draft | * Status: Draft | ||
- | |||
===== Introduction ===== | ===== Introduction ===== | ||
Line 22: | Line 21: | ||
]; | ]; | ||
- | echo json_encode($data, | + | echo json_encode($data, |
+ | echo json_encode($data, | ||
?> | ?> | ||
Line 36: | Line 36: | ||
3 | 3 | ||
] | ] | ||
+ | } | ||
+ | { | ||
+ | 🚀" | ||
+ | 🚀" | ||
+ | 🚀🚀0, | ||
+ | 🚀🚀1, | ||
+ | 🚀🚀2, | ||
+ | 🚀🚀3 | ||
+ | 🚀] | ||
} | } | ||
</ | </ |
rfc/json_encode_indentation.txt · Last modified: 2022/07/19 15:23 by cmb