1
다음은 출력 인 Json Array입니다. 그리고이 배열에서 이름과 설명 만 검색하려고합니다. 결과를 HTML 페이지 내의 테이블에 넣길 원합니다. 도와주세요.JSON 배열에서 특정 데이터를 검색하는 방법은 무엇입니까?
(
[columnId] => 258f2200948711e3b4507b78fb18a9a7
[columnName] => To-do
[tasksLimited] =>
[tasks] => Array
(
[0] => stdClass Object
(
[_id] => 5f4d17eeff71cf48f8cf033db78c5755
[name] => test
[description] =>
[color] => yellow
[columnId] => 258f2200948711e3b4507b78fb18a9a7
[totalSecondsSpent] => 0
[totalSecondsEstimate] => 0
)
[1] => stdClass Object
(
[_id] => ed30db48426da335d7b232d2d8c5b4f0
[name] => Write report
[description] =>
[color] => red
[columnId] => 258f2200948711e3b4507b78fb18a9a7
[totalSecondsSpent] => 0
[totalSecondsEstimate] => 0
)
[2] => stdClass Object
(
[_id] => ed30db48426da335d7b232d2d8e51eee
[name] => szxfasdfasdf
[description] =>
[color] => yellow
[columnId] => 258f2200948711e3b4507b78fb18a9a7
[totalSecondsSpent] => 0
[totalSecondsEstimate] => 0
)
)
)
JSON이 아닙니다. [example here] (http://json.org/example.html)를 찾을 수 있습니다. –
그런 다음. 그것의 배열을 말하는 것을 의미합니까? – user3386765
어디에서 JSON 값을 얻을 수 있습니까? – Lepanto