Re: Stripping a JSON of extra characters in PHP
[email protected] (The Doctor) Tue, 7 Feb 2023 16:05:37 -0000 (UTC)
| Newsgroups | comp.lang.php |
|---|---|
| Organization | NetKnow News |
| Message-ID | <[email protected]> |
In article <[email protected]>, Arno Welzel <[email protected]> wrote: >The Doctor, 2023-02-07 02:28: > >[...] >> cart is subarray with the main array, added items in the cart >> is a subarray of the cart.> >> Source >> >> https://developer.moneris.com/livedemo/checkout/preload_req/guide/dotnet > >No! Cart is an OBJECT there: > >"cart":{ >... >} > >Also contact details: > >"contact_details":{ >... >} > >The "{" indicates the beginning of an OBJECT while "[" starts an ARRAY. > >As I said: learn how to read JSON and try to understand how that format >works! > >Also see: <https://www.json.org/json-en.html> > Got you! > >-- >Arno Welzel >https://arnowelzel.de > -- Member - Liberal International This is [email protected] Ici [email protected] Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising! Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b Extremism is for those who love judging, and care nothing for accuracy. -unknown Beware https://mindspring.com