{"id":89038,"date":"2025-10-08T10:52:08","date_gmt":"2025-10-08T05:22:08","guid":{"rendered":"https:\/\/www.guvi.in\/blog\/?p=89038"},"modified":"2025-11-03T10:17:51","modified_gmt":"2025-11-03T04:47:51","slug":"convert-object-to-array-in-php","status":"publish","type":"post","link":"https:\/\/www.guvi.in\/blog\/convert-object-to-array-in-php\/","title":{"rendered":"Convert Object to Array in PHP: Techniques and Examples"},"content":{"rendered":"\n<p>In PHP, objects and arrays are types of data structures that are used to store and organize data effectively. When developers program features and functionalities with PHP, they don&#8217;t rely solely on specific data variables; instead, they often switch between objects and arrays depending on the task at hand. Objects are used for organizing the data using classes, whereas arrays provide flexibility for manipulating the data.&nbsp;<\/p>\n\n\n\n<p>However, there are multiple scenarios where the need to convert object to array arises, such as managing and handling API responses, conducting JSON operations, or facilitating the data processing phase.<\/p>\n\n\n\n<p>In this blog, we will walk through all the essential techniques of converting an object to an array in PHP. So, let&#8217;s begin. However, before we do, let&#8217;s first understand what objects and arrays are in PHP.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What Are Objects and Arrays in PHP?<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"630\" src=\"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/11\/Objects-and-Arrays-in-PHP-1200x630.png\" alt=\"\" class=\"wp-image-92371\" srcset=\"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/11\/Objects-and-Arrays-in-PHP-1200x630.png 1200w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/11\/Objects-and-Arrays-in-PHP-300x158.png 300w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/11\/Objects-and-Arrays-in-PHP-768x403.png 768w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/11\/Objects-and-Arrays-in-PHP-1536x806.png 1536w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/11\/Objects-and-Arrays-in-PHP-2048x1075.png 2048w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/11\/Objects-and-Arrays-in-PHP-150x79.png 150w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" title=\"\"><\/figure>\n\n\n\n<p><strong>Objects: <\/strong>In PHP, an object is a type of <a href=\"https:\/\/www.guvi.in\/blog\/what-are-data-structures-and-algorithms\/\" target=\"_blank\" rel=\"noreferrer noopener\">data structure<\/a> that represents an instance of a class. It allows programmers to categorize data variables (properties) and functions; as a result, modeling real-world entities becomes easier and more straightforward.&nbsp;<\/p>\n\n\n\n<p>Objects are generally considered an ideal choice for organizing complex datasets because, while creating objects, we can assign unique values to each object while sharing the same structure defined by the same class.<\/p>\n\n\n\n<p><strong>Arrays: <\/strong>An Array, on the other hand, is a type of data structure that is dynamic and provides flexibility to store multiple data values under a single variable. Data are stored in these variables in the form of an index or in key-value pairs (where the key represents the index position of the data value).<\/p>\n\n\n\n<p>The primary purpose of utilizing arrays is to perform various data manipulation tasks, such as sorting, filtering, searching, merging, mapping, and many more.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Why Convert Object to Array?<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"630\" src=\"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/11\/Convert-an-object-1-1200x630.png\" alt=\"\" class=\"wp-image-92375\" srcset=\"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/11\/Convert-an-object-1-1200x630.png 1200w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/11\/Convert-an-object-1-300x158.png 300w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/11\/Convert-an-object-1-768x403.png 768w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/11\/Convert-an-object-1-1536x806.png 1536w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/11\/Convert-an-object-1-2048x1075.png 2048w, https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/11\/Convert-an-object-1-150x79.png 150w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" title=\"\"><\/figure>\n\n\n\n<p>Converting an object into an array in <a href=\"https:\/\/www.guvi.in\/blog\/what-is-php\/\" target=\"_blank\" rel=\"noreferrer noopener\">PHP<\/a> is crucial because arrays are more flexible and easier to use for various programming tasks. It allows the developers to quickly access and modify the data using the built-in functionalities offered by PHP. In addition to this, converting objects into arrays provides you with more control and efficiency for processing the data, which improves your PHP code by making it cleaner, faster, and easier to maintain.&nbsp;<\/p>\n\n\n\n<p>This conversion of variables is necessary, especially in practical situations where data needs to be manipulated, analyzed, and presented to the end users based on their dynamic interactions (event triggering).<\/p>\n\n\n\n<p><strong><em>Real-World Example<\/em><\/strong><\/p>\n\n\n\n<p>In an <a href=\"https:\/\/www.guvi.in\/blog\/create-your-own-ecommerce-website-like-amazon\/\" target=\"_blank\" rel=\"noreferrer noopener\">e-commerce website<\/a>, you know how vital the product catalog section is. But to display that section with all essential pointers such as description, user ratings and reviews, high-quality images, and brief video elements, APIs are integrated into the code to fetch the information from the <a href=\"https:\/\/www.guvi.in\/blog\/how-do-servers-handle-requests\/\" target=\"_blank\" rel=\"noreferrer noopener\">server<\/a> database.&nbsp;<\/p>\n\n\n\n<p>When the data is fetched, the API returns the product data as an object. Now, for displaying those products in a structured fashion, features such as product sorting, category filters, and popular items recommendations need to be added.&nbsp;<\/p>\n\n\n\n<p>And to enable this feature, converting the data objects into arrays is essential (through functions like <strong>array_filter(), usort(), array_map()<\/strong>, etc), as it enhances the performance and speed of the application.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Techniques to Convert an Object to an Array in PHP<\/strong><\/h2>\n\n\n\n<p>The following are the most effective conversion techniques:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>1. Type Casting <\/strong><strong>(array)$object<\/strong><\/h3>\n\n\n\n<p>It is the simplest and fastest method among all to convert an object to an array in PHP. In this method, you just have to place the array variable before the object, and the PHP language will interpret it automatically and transform it into an associative array.<\/p>\n\n\n\n<p>It is the ideal way for conversion when the object size is small and not deeply nested.<\/p>\n\n\n\n<p><strong><em>How to Execute:<\/em><\/strong><strong><em> <\/em><\/strong>First, take your object and place <strong>(array) <\/strong>before it \u2014 PHP will automatically convert all its properties into an associative array.<\/p>\n\n\n\n<p><strong><em>(Code)<\/em><\/strong><\/p>\n\n\n\n<p>{<\/p>\n\n\n\n<p><strong>Input:<\/strong><\/p>\n\n\n\n<p>&lt;?php<\/p>\n\n\n\n<p>$person = (object) [<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&#8216;name&#8217; =&gt; &#8216;John&#8217;,<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&#8216;age&#8217; =&gt; 25<\/p>\n\n\n\n<p>];<\/p>\n\n\n\n<p>$array = (array) $person;<\/p>\n\n\n\n<p>print_r($array);<\/p>\n\n\n\n<p>?&gt;<\/p>\n\n\n\n<p>______________________________________<\/p>\n\n\n\n<p><strong>Output:<\/strong><\/p>\n\n\n\n<p>Array ( [name] =&gt; John [age] =&gt; 25 )<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2. Using <\/strong><strong>get_object_vars()<\/strong><\/h3>\n\n\n\n<p>It is a function that is utilized for returning all the public properties of an object in the form of an associative array.<\/p>\n\n\n\n<p>It is beneficial only when the data are stored in public variables rather than in private ones. Sensitive properties won&#8217;t be displayed in the output; in a way, they are protected.<\/p>\n\n\n\n<p><strong><em>How to Execute: <\/em><\/strong>You call the <strong>get_object_vars()<\/strong> function and pass your object inside it \u2014 this function then collects all the object\u2019s public properties and returns them as an array.<\/p>\n\n\n\n<p><strong><em>(Code)<\/em><\/strong><\/p>\n\n\n\n<p>{<\/p>\n\n\n\n<p><strong>Input:<\/strong><\/p>\n\n\n\n<p>&lt;?php<\/p>\n\n\n\n<p>$person = (object) [<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&#8216;name&#8217; =&gt; &#8216;John&#8217;,<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&#8216;age&#8217; =&gt; 25<\/p>\n\n\n\n<p>];<\/p>\n\n\n\n<p>$array = get_object_vars($person);<\/p>\n\n\n\n<p>print_r($array);<\/p>\n\n\n\n<p>?&gt;<\/p>\n\n\n\n<p>______________________________________<\/p>\n\n\n\n<p><strong>Output:<\/strong><\/p>\n\n\n\n<p>Array ( [name] =&gt; John [age] =&gt; 25 )<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3. Using<\/strong><strong> json_encode() <\/strong><strong>and <\/strong><strong>json_decode()<\/strong><\/h3>\n\n\n\n<p>When it comes to dealing with nested and complex objects, using this method is the most effective way to convert the object into a JSON string and, after that, decode it into an array variable.<\/p>\n\n\n\n<p>Since it is a method that supports deep conversion, it&#8217;s often used for <a href=\"https:\/\/www.guvi.in\/blog\/data-handling-with-big-data-and-dbms\/\" target=\"_blank\" rel=\"noreferrer noopener\">handling data<\/a> that comes from <a href=\"https:\/\/www.guvi.in\/blog\/api-response-structure-best-practices\/\" target=\"_blank\" rel=\"noreferrer noopener\">APIs<\/a> or JSON responses.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/p>\n\n\n\n<p><strong><em>How to Execute:<\/em><\/strong><strong><em> <\/em><\/strong>First, convert the object into a JSON string using <strong>json_encode()<\/strong>, then immediately decode it back into an array with <strong>json_decode() <\/strong>by setting the second parameter to <strong>true<\/strong>.<\/p>\n\n\n\n<p><strong><em>(Code)<\/em><\/strong><\/p>\n\n\n\n<p>{<\/p>\n\n\n\n<p><strong>Input:<\/strong><\/p>\n\n\n\n<p>&lt;?php<\/p>\n\n\n\n<p>$person = (object) [<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&#8216;name&#8217; =&gt; &#8216;John&#8217;,<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&#8216;details&#8217; =&gt; (object) [<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;age&#8217; =&gt; 25,<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;city&#8217; =&gt; &#8216;New York&#8217;<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;]<\/p>\n\n\n\n<p>];<\/p>\n\n\n\n<p>$array = json_decode(json_encode($person), true);<\/p>\n\n\n\n<p>print_r($array);<\/p>\n\n\n\n<p>?&gt;<\/p>\n\n\n\n<p>______________________________________<\/p>\n\n\n\n<p><strong>Output:<\/strong><\/p>\n\n\n\n<p>Array ( [name] =&gt; John [details] =&gt; Array ( [age] =&gt; 25 [city] =&gt; New York ) )<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>4. Using a<\/strong><strong> Loop (Manual Conversion)<\/strong><\/h3>\n\n\n\n<p>In this conversion technique, you have to manually go through each property inside the object using a <strong>foreach<\/strong> <strong>loop<\/strong> and store it in an empty array.&nbsp;<\/p>\n\n\n\n<p>By performing this operation, you gain complete control over the data conversion. Here, you can easily skip, rename, or modify the keys while the conversion process is taking place.<\/p>\n\n\n\n<p><strong><em>How to Execute:<\/em><\/strong><strong><em> <\/em><\/strong>You loop through the object\u2019s properties using <strong>foreach <\/strong>and, for each <strong>key-value<\/strong> pair, store them in a new array \u2014 manually building your array step by step.<\/p>\n\n\n\n<p><strong><em>(Code)<\/em><\/strong><\/p>\n\n\n\n<p>{<\/p>\n\n\n\n<p><strong>Input:<\/strong><\/p>\n\n\n\n<p>&lt;?php<\/p>\n\n\n\n<p>$person = (object) [<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&#8216;name&#8217; =&gt; &#8216;John&#8217;,<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&#8216;age&#8217; =&gt; 25<\/p>\n\n\n\n<p>];<\/p>\n\n\n\n<p>$array = [];<\/p>\n\n\n\n<p>foreach ($person as $key =&gt; $value) {<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;$array[$key] = $value;<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<p>print_r($array);<\/p>\n\n\n\n<p>?&gt;<\/p>\n\n\n\n<p>______________________________________<\/p>\n\n\n\n<p><strong>Output:<\/strong><\/p>\n\n\n\n<p>Array ( [name] =&gt; John [age] =&gt; 25 )<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>5. Using a <\/strong><strong>Custom Function (object_to_array())<\/strong><\/h3>\n\n\n\n<p>Designing a custom function tailored to your problem objective is the most flexible and reusable approach.<\/p>\n\n\n\n<p>Utilizing a custom function can help you convert both simple and nested object types into arrays. And you can implement it anywhere in your program without the tedious process of repeating or rewriting code.<\/p>\n\n\n\n<p><strong><em>How to Execute:<\/em><\/strong><strong><em> <\/em><\/strong>You create a reusable function that checks if the value is an object or array, and then <strong>recursively<\/strong> converts everything \u2014 including <strong>nested objects <\/strong>\u2014 into arrays automatically.<\/p>\n\n\n\n<p><strong><em>(Code)<\/em><\/strong><\/p>\n\n\n\n<p>{<\/p>\n\n\n\n<p><strong>Input:<\/strong><\/p>\n\n\n\n<p>&lt;?php<\/p>\n\n\n\n<p>function object_to_array($obj) {<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;if (is_object($obj)) {<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$obj = get_object_vars($obj);<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;}<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;if (is_array($obj)) {<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return array_map(&#8216;object_to_array&#8217;, $obj);<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;}<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;return $obj;<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<p>$person = (object) [<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&#8216;name&#8217; =&gt; &#8216;John&#8217;,<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&#8216;details&#8217; =&gt; (object) [<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;age&#8217; =&gt; 25,<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;city&#8217; =&gt; &#8216;New York&#8217;<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;]<\/p>\n\n\n\n<p>];<\/p>\n\n\n\n<p>$array = object_to_array($person);<\/p>\n\n\n\n<p>print_r($array);<\/p>\n\n\n\n<p>?&gt;<\/p>\n\n\n\n<p>______________________________________<\/p>\n\n\n\n<p><strong>Output<\/strong><\/p>\n\n\n\n<p>Array ( [name] =&gt; John [details] =&gt; Array ( [age] =&gt; 25 [city] =&gt; New York ) )<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<p>Are you someone who is constantly seeking the best platform to acquire skills in Full Stack Development? If you are unsure which course is best for your career prospects, end your search today and enroll in HCL GUVI&#8217;s IITM Pravartak Certified<a href=\"https:\/\/www.guvi.in\/zen-class\/full-stack-development-course\/?utm_source=blog&amp;utm_medium=hyperlink&amp;utm_campaign=How+to+Convert+an+Object+to+an+Array+in+PHP%3A+Techniques+and+Examples\" target=\"_blank\" rel=\"noreferrer noopener\"> MERN Full Stack Development Course with AI Integration<\/a>. It is a comprehensive and insightful program with expert guidance, hands-on projects, and career support. Join us today and transform your career with expert-led training.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p>Ultimately, we can conclude that converting an object to an array in PHP is a crucial process in ensuring the code&#8217;s adaptability to various situations. From performing API data handling and JSON data processing to managing template rendering and configuring file parsing, each task becomes simpler after this conversion.&nbsp;<\/p>\n\n\n\n<p>We had a clear understanding of all the practical techniques of converting an object to an array, along with the code snippet examples. I hope this blog was effective in guiding you through all the aspects related to this particular conversion procedure. To explore more interesting topics, visit HCL GUVI&#8217;s <a href=\"https:\/\/www.guvi.in\/blog\/\" target=\"_blank\" rel=\"noreferrer noopener\">comprehensive and insightful blog page<\/a> to satisfy your curiosity.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>FAQs<\/strong><\/h2>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1759898764989\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>What is the best way to convert an object to an array in PHP?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Use type casting<strong> (array)$object<\/strong> for simple data, and <strong>json_encode() &amp; json_decode()<\/strong> for nested objects.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1759898775198\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>Will type casting convert nested objects, too?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>No, it only converts the top level. Use json_encode()\/json_decode() or a custom function for deep objects.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1759898792957\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>Can I convert only specific properties?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Yes, use a loop method and add conditions to pick the properties you need.<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>In PHP, objects and arrays are types of data structures that are used to store and organize data effectively. When developers program features and functionalities with PHP, they don&#8217;t rely solely on specific data variables; instead, they often switch between objects and arrays depending on the task at hand. Objects are used for organizing the [&hellip;]<\/p>\n","protected":false},"author":64,"featured_media":92366,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[294,907],"tags":[],"views":"2009","authorinfo":{"name":"Abhishek Pati","url":"https:\/\/www.guvi.in\/blog\/author\/abhishek-pati\/"},"thumbnailURL":"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/10\/How-to-Convert-Object-to-Array-in-PHP-300x116.png","jetpack_featured_media_url":"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2025\/10\/How-to-Convert-Object-to-Array-in-PHP.png","_links":{"self":[{"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/posts\/89038"}],"collection":[{"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/users\/64"}],"replies":[{"embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/comments?post=89038"}],"version-history":[{"count":9,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/posts\/89038\/revisions"}],"predecessor-version":[{"id":92376,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/posts\/89038\/revisions\/92376"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/media\/92366"}],"wp:attachment":[{"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/media?parent=89038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/categories?post=89038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/tags?post=89038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}