Kashub's Code Barn - "jq command not found - show formatted json"

podświetlone jako c (dodał(a) kashub @ 2020-10-14 12:53:52)

Parcel ABC
Podświetl ten kod w:
Ostatnio dodane:
Losowe wpisy:
curl some-api-returning-json.local | php -r '$o="";while($l=fgets(STDIN))$o.=$l;print_r(json_decode($o,1));'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   135    0   135    0     0   4061      0 --:--:-- --:--:-- --:--:--  4090
Array
(
    [api] => someAPI
    [version] => 1.0.0
    [tagline] => Whatever
)
 
| Opony motocyklowe | | Best Stand Mixers UK 2025 | | Best Freestanding Ovens UK 2025 | | Best cetrifugal juicers UK | | SUV Tyres UK | | Jewelry & Accessories UK | | UK Water Sports Shop | | Hair Care Shop UK | | Perfumes Shop UK | | Make-up Shop UK |