F
F
Fozzy7772019-12-27 20:30:34
PHP
Fozzy777, 2019-12-27 20:30:34

How to search json array?

Actually there is an array:

{"success":true,"time":"1577464681","currency":"RUB","items":[{"market_hash_name":"'The Doctor' Romanov | Sabre","volume":"14","price":"688.99"},{"market_hash_name":"'Two Times' McCoy | USAF TACP","volume":"5","price":"169.00"},{"market_hash_name":"3rd Commando Company | KSK","volume":"42","price":"250.00"},{"market_hash_name":"Aces High Pin","volume":"12","price":"532.43"},{"market_hash_name":"AK-47 | Aquamarine Revenge (Battle-Scarred)","volume":"8","price":"1115.00"},{"market_hash_name":"AK-47 | Aquamarine Revenge (Factory New)","volume":"7","price":"3380.21"},{"market_hash_name":"AK-47 | Aquamarine Revenge (Field-Tested)","volume":"7","price":"1500.00"},{"market_hash_name":"AK-47 | Aquamarine Revenge (Minimal Wear)","volume":"3","price":"2099.97"},{"market_hash_name":"AK-47 | Aquamarine Revenge (Well-Worn)","volume":"7","price":"1299.95"},{"market_hash_name":"AK-47 | Asiimov (Battle-Scarred)","volume":"2","price":"1998.99"}

How to find the price value, for example for AK-47 | Aquamarine Revenge (Factory New) using php, thanks for the help?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2019-12-27
@Fozzy777

translate into a regular array and find.
as an example - https://ideone.com/EWaAO0

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question