just need some real help here ive been stuck on this for quite a long time how do i get the "description" value from this json ive tried json decode also base64encode then decode but i cant get values when json responses are like this its from this endpoint https://kgsearch.googleapis.com/v1/entities:search
In a variable action, I'd try:
json_decode( (Variable) test2
, true)["itemListElement"][0]["result"]["description"]
Use htmlspecialchars_decode
to have it as a simple string, then current ( array_slice ( explode ( '"', [variable] ), 2 ) )
replace 2
with the number of "
before description, it will give you what you want.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.