parsing_links JSON response object
-
Hi all,
I’m writing a Java web app that calls the WordPress APIs and I’m having trouble parsing through the _links item JSON response. Am I reading this right? Juding from the response below, the _links object holds an array of strings called “collection” and an array of strings called “self”?
“_links”:{“collection”:[{“href”:”https:\/\/ipaddress.com\/index.php?rest_route=\/wp\/v2\/widget-types”}],”self”:[{“href”:”https:\/\/ipaddress.com\/index.php?rest_route=\/wp\/v2\/widget-types\/block”}]}}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.