- Posts: 2
Extracting Embedded Data from a JSON string
- Brian Coxon
-
Topic Author
- Offline
- New Member
-
Less
More
27 Aug 2026 08:30 #1
by Brian Coxon
Extracting Embedded Data from a JSON string was created by Brian Coxon
I'm trying to extract walks of a particular grade but cannot get the correct syntax. Grades are embedded in an array, for example:
["difficulty"]=>
array(2) {
["code"]=>
string(
"moderate"
["description"]=>
string(
"Moderate"
I've tried using this but it returns walks of all grades rather than only Moderate grade walks...
walks-manager.ramblers.org.uk/api/volunt...k&groups=MR&api-key= <>&date=2026-08-27&date_end=2027-08-27&days=&difficulty[description]=Moderate&order=asc
I've also tried ...&difficulty.description=Moderate... and that doesn't work. Is such an extraction possible, and if so what syntax should I be using?
["difficulty"]=>
array(2) {
["code"]=>
string(
["description"]=>
string(
I've tried using this but it returns walks of all grades rather than only Moderate grade walks...
walks-manager.ramblers.org.uk/api/volunt...k&groups=MR&api-key= <>&date=2026-08-27&date_end=2027-08-27&days=&difficulty[description]=Moderate&order=asc
I've also tried ...&difficulty.description=Moderate... and that doesn't work. Is such an extraction possible, and if so what syntax should I be using?
Please Log in or Create an account to join the conversation.
- Ruby Tuesday
-
- Offline
- Administrator
-
Less
More
- Posts: 933
27 Aug 2026 10:14 #2
by Ruby Tuesday
Replied by Ruby Tuesday on topic Extracting Embedded Data from a JSON string
Please login to view the answers
Please Log in or Create an account to join the conversation.
- Brian Coxon
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
27 Aug 2026 10:49 #3
by Brian Coxon
Replied by Brian Coxon on topic Extracting Embedded Data from a JSON string
Please login to view the answers
Please Log in or Create an account to join the conversation.
- Ruby Tuesday
-
- Offline
- Administrator
-
Less
More
- Posts: 933
27 Aug 2026 14:46 #4
by Ruby Tuesday
Replied by Ruby Tuesday on topic Extracting Embedded Data from a JSON string
Please login to view the answers
Please Log in or Create an account to join the conversation.
Time to create page: 2.133 seconds
