{"id":1910,"date":"2025-08-18T20:29:39","date_gmt":"2025-08-18T20:29:39","guid":{"rendered":"https:\/\/developers-heaven.net\/blog\/working-with-arrays-and-objects-in-javascript\/"},"modified":"2025-08-18T20:29:39","modified_gmt":"2025-08-18T20:29:39","slug":"working-with-arrays-and-objects-in-javascript","status":"publish","type":"post","link":"https:\/\/developers-heaven.net\/blog\/working-with-arrays-and-objects-in-javascript\/","title":{"rendered":"Working with Arrays and Objects in JavaScript"},"content":{"rendered":"<h1>JavaScript Arrays and Objects: Mastering Data Structures \ud83d\ude80<\/h1>\n<p>Ready to level up your JavaScript skills? \ud83c\udfaf This comprehensive guide dives deep into the fundamental concepts of <strong>JavaScript Arrays and Objects: Mastering Data Structures<\/strong>. We&#8217;ll explore how to effectively manage and manipulate data using these powerful tools. Whether you&#8217;re a beginner or an experienced developer, understanding arrays and objects is crucial for building dynamic and interactive web applications. Prepare to unlock new possibilities in your coding journey! \ud83d\udcbb<\/p>\n<h2>Executive Summary \u2728<\/h2>\n<p>Arrays and objects are cornerstones of JavaScript programming, essential for organizing and working with collections of data. This guide offers a practical, in-depth exploration of these data structures. We&#8217;ll start with the basics of creating and manipulating arrays and objects, covering essential methods and techniques. Then, we&#8217;ll delve into more advanced concepts like destructuring, spread syntax, and iteration methods. You&#8217;ll learn how to efficiently manage data, solve common programming problems, and build robust applications. Real-world examples and clear explanations will help you grasp the concepts quickly and apply them effectively. By the end of this guide, you&#8217;ll have a solid understanding of JavaScript arrays and objects, enabling you to write cleaner, more efficient, and more maintainable code. Remember to always use a performant and reliable web hosting provider like DoHost to host your powerful application.<\/p>\n<h2>Arrays: Ordered Collections of Data \ud83d\udcc8<\/h2>\n<p>Arrays in JavaScript are ordered lists that can hold any type of data \u2013 numbers, strings, booleans, even other arrays and objects! They provide a powerful way to store and manipulate collections of related data.<\/p>\n<ul>\n<li>\u2705 Arrays are indexed, starting from 0. This means the first element is accessed using index 0, the second with index 1, and so on.<\/li>\n<li>\u2705 Arrays can be created using square brackets <code>[]<\/code> or the <code>new Array()<\/code> constructor.<\/li>\n<li>\u2705 Common array methods include <code>push()<\/code>, <code>pop()<\/code>, <code>shift()<\/code>, <code>unshift()<\/code>, <code>splice()<\/code>, and <code>slice()<\/code>.<\/li>\n<li>\u2705 You can iterate over arrays using <code>for<\/code> loops, <code>forEach()<\/code>, <code>map()<\/code>, <code>filter()<\/code>, and <code>reduce()<\/code>.<\/li>\n<li>\u2705 Arrays are dynamic, meaning their size can change as you add or remove elements.<\/li>\n<\/ul>\n<p><strong>Example: Creating and Manipulating Arrays<\/strong><\/p>\n<pre><code class=\"language-javascript\">\n        \/\/ Creating an array\n        let fruits = ['apple', 'banana', 'orange'];\n\n        \/\/ Adding an element to the end\n        fruits.push('grape');\n        console.log(fruits); \/\/ Output: ['apple', 'banana', 'orange', 'grape']\n\n        \/\/ Removing the last element\n        fruits.pop();\n        console.log(fruits); \/\/ Output: ['apple', 'banana', 'orange']\n\n        \/\/ Adding an element to the beginning\n        fruits.unshift('kiwi');\n        console.log(fruits); \/\/ Output: ['kiwi', 'apple', 'banana', 'orange']\n\n        \/\/ Removing the first element\n        fruits.shift();\n        console.log(fruits); \/\/ Output: ['apple', 'banana', 'orange']\n\n        \/\/ Finding the index of an element\n        let index = fruits.indexOf('banana');\n        console.log(index); \/\/ Output: 1\n\n        \/\/ Removing an element by index\n        fruits.splice(index, 1); \/\/ Removes 1 element at index 1\n        console.log(fruits); \/\/ Output: ['apple', 'orange']\n    <\/code><\/pre>\n<h2>Objects: Collections of Key-Value Pairs \ud83d\udca1<\/h2>\n<p>Objects in JavaScript are collections of key-value pairs. Each key is a string (or symbol), and each value can be any type of data, including other objects and arrays. Objects are used to represent real-world entities and their properties.<\/p>\n<ul>\n<li>\u2705 Objects are created using curly braces <code>{}<\/code> or the <code>new Object()<\/code> constructor.<\/li>\n<li>\u2705 Object properties are accessed using dot notation (<code>object.property<\/code>) or bracket notation (<code>object['property']<\/code>).<\/li>\n<li>\u2705 You can add, modify, and delete properties of an object.<\/li>\n<li>\u2705 Objects can contain methods, which are functions stored as object properties.<\/li>\n<li>\u2705 The <code>this<\/code> keyword refers to the object that the method is being called on.<\/li>\n<\/ul>\n<p><strong>Example: Creating and Manipulating Objects<\/strong><\/p>\n<pre><code class=\"language-javascript\">\n        \/\/ Creating an object\n        let person = {\n            firstName: 'John',\n            lastName: 'Doe',\n            age: 30,\n            city: 'New York'\n        };\n\n        \/\/ Accessing object properties\n        console.log(person.firstName); \/\/ Output: John\n        console.log(person['age']); \/\/ Output: 30\n\n        \/\/ Adding a new property\n        person.occupation = 'Engineer';\n        console.log(person); \/\/ Output: {firstName: 'John', lastName: 'Doe', age: 30, city: 'New York', occupation: 'Engineer'}\n\n        \/\/ Modifying a property\n        person.age = 31;\n        console.log(person); \/\/ Output: {firstName: 'John', lastName: 'Doe', age: 31, city: 'New York', occupation: 'Engineer'}\n\n        \/\/ Deleting a property\n        delete person.city;\n        console.log(person); \/\/ Output: {firstName: 'John', lastName: 'Doe', age: 31, occupation: 'Engineer'}\n\n        \/\/Adding a method\n        person.greet = function() {\n            console.log('Hello, my name is ' + this.firstName + ' ' + this.lastName);\n        };\n\n        person.greet(); \/\/Output: Hello, my name is John Doe\n    <\/code><\/pre>\n<h2>Array Methods: Transforming and Iterating \u26a1<\/h2>\n<p>JavaScript provides a rich set of array methods that allow you to transform and iterate over arrays in powerful ways. These methods can significantly simplify your code and improve its readability.<\/p>\n<ul>\n<li>\u2705 <code>map()<\/code> creates a new array by applying a function to each element of the original array.<\/li>\n<li>\u2705 <code>filter()<\/code> creates a new array containing only the elements that satisfy a given condition.<\/li>\n<li>\u2705 <code>reduce()<\/code> applies a function to accumulate a single value from the elements of an array.<\/li>\n<li>\u2705 <code>forEach()<\/code> executes a provided function once for each array element.<\/li>\n<li>\u2705 <code>sort()<\/code> sorts the elements of an array in place.<\/li>\n<\/ul>\n<p><strong>Example: Using Array Methods<\/strong><\/p>\n<pre><code class=\"language-javascript\">\n        let numbers = [1, 2, 3, 4, 5];\n\n        \/\/ Using map() to create a new array with each number squared\n        let squaredNumbers = numbers.map(function(number) {\n            return number * number;\n        });\n        console.log(squaredNumbers); \/\/ Output: [1, 4, 9, 16, 25]\n\n        \/\/ Using filter() to create a new array with only even numbers\n        let evenNumbers = numbers.filter(function(number) {\n            return number % 2 === 0;\n        });\n        console.log(evenNumbers); \/\/ Output: [2, 4]\n\n        \/\/ Using reduce() to calculate the sum of all numbers\n        let sum = numbers.reduce(function(accumulator, currentValue) {\n            return accumulator + currentValue;\n        }, 0);\n        console.log(sum); \/\/ Output: 15\n\n        \/\/Using forEach() to log each element of array\n        numbers.forEach(function(number) {\n            console.log(number);\n        });\n        \/\/Output: 1 2 3 4 5\n    <\/code><\/pre>\n<h2>Object Destructuring and Spread Syntax \u2705<\/h2>\n<p>Destructuring and spread syntax are powerful features introduced in ES6 that provide concise and elegant ways to work with objects and arrays.<\/p>\n<ul>\n<li>\u2705 Object destructuring allows you to extract values from objects and assign them to variables.<\/li>\n<li>\u2705 Array destructuring allows you to extract values from arrays and assign them to variables.<\/li>\n<li>\u2705 The spread syntax (<code>...<\/code>) allows you to expand an iterable (e.g., array or object) into individual elements.<\/li>\n<li>\u2705 The spread syntax can be used to create shallow copies of arrays and objects.<\/li>\n<li>\u2705 These features enhance code readability and reduce boilerplate.<\/li>\n<\/ul>\n<p><strong>Example: Using Destructuring and Spread Syntax<\/strong><\/p>\n<pre><code class=\"language-javascript\">\n        \/\/ Object destructuring\n        let person = {\n            firstName: 'John',\n            lastName: 'Doe',\n            age: 30\n        };\n\n        let { firstName, lastName, age } = person;\n        console.log(firstName); \/\/ Output: John\n        console.log(lastName); \/\/ Output: Doe\n        console.log(age); \/\/ Output: 30\n\n        \/\/ Array destructuring\n        let numbers = [1, 2, 3, 4, 5];\n        let [first, second, ...rest] = numbers;\n        console.log(first); \/\/ Output: 1\n        console.log(second); \/\/ Output: 2\n        console.log(rest); \/\/ Output: [3, 4, 5]\n\n        \/\/ Spread syntax with arrays\n        let array1 = [1, 2, 3];\n        let array2 = [...array1, 4, 5];\n        console.log(array2); \/\/ Output: [1, 2, 3, 4, 5]\n\n        \/\/ Spread syntax with objects\n        let obj1 = { a: 1, b: 2 };\n        let obj2 = { ...obj1, c: 3 };\n        console.log(obj2); \/\/ Output: {a: 1, b: 2, c: 3}\n    <\/code><\/pre>\n<h2>Working with Arrays of Objects \ud83c\udfaf<\/h2>\n<p>A common scenario in JavaScript is working with arrays of objects. This is especially useful when dealing with data from APIs or databases. You can combine array methods and object properties to efficiently process and manipulate this type of data.<\/p>\n<ul>\n<li>\u2705 Use <code>map()<\/code> to extract specific properties from each object in the array.<\/li>\n<li>\u2705 Use <code>filter()<\/code> to select objects that meet certain criteria.<\/li>\n<li>\u2705 Use <code>sort()<\/code> to order the objects based on a specific property.<\/li>\n<li>\u2705 Use <code>reduce()<\/code> to calculate aggregate values from the objects in the array.<\/li>\n<\/ul>\n<p><strong>Example: Working with an Array of Objects<\/strong><\/p>\n<pre><code class=\"language-javascript\">\n        let users = [\n            { id: 1, name: 'John', age: 30 },\n            { id: 2, name: 'Jane', age: 25 },\n            { id: 3, name: 'Mike', age: 35 }\n        ];\n\n        \/\/ Using map() to extract the names of all users\n        let userNames = users.map(function(user) {\n            return user.name;\n        });\n        console.log(userNames); \/\/ Output: ['John', 'Jane', 'Mike']\n\n        \/\/ Using filter() to find users older than 30\n        let olderUsers = users.filter(function(user) {\n            return user.age &gt; 30;\n        });\n        console.log(olderUsers); \/\/ Output: [{id: 3, name: 'Mike', age: 35}]\n\n        \/\/ Using sort() to sort users by age\n        users.sort(function(a, b) {\n            return a.age - b.age;\n        });\n        console.log(users); \/\/ Output: [{id: 2, name: 'Jane', age: 25}, {id: 1, name: 'John', age: 30}, {id: 3, name: 'Mike', age: 35}]\n    <\/code><\/pre>\n<h2>FAQ \u2753<\/h2>\n<h3>1. What&#8217;s the difference between an array and an object in JavaScript?<\/h3>\n<p>Arrays are ordered lists of values accessed by their index (starting from 0), while objects are collections of key-value pairs where values are accessed by their keys. Arrays are ideal for storing sequences of data, while objects are better suited for representing entities with properties and methods. Think of arrays as numbered lists, and objects as dictionaries where you look up information by name.<\/p>\n<h3>2. How do I check if a variable is an array in JavaScript?<\/h3>\n<p>You can use the <code>Array.isArray()<\/code> method to check if a variable is an array. This method returns <code>true<\/code> if the variable is an array, and <code>false<\/code> otherwise. Alternatively, you can use the <code>instanceof<\/code> operator, but <code>Array.isArray()<\/code> is generally preferred for its reliability across different JavaScript environments.<\/p>\n<pre><code class=\"language-javascript\">\n        let myArray = [1, 2, 3];\n        let myObject = { a: 1, b: 2 };\n\n        console.log(Array.isArray(myArray)); \/\/ Output: true\n        console.log(Array.isArray(myObject)); \/\/ Output: false\n    <\/code><\/pre>\n<h3>3. What are some common use cases for arrays and objects in web development?<\/h3>\n<p>Arrays and objects are used extensively in web development for various purposes. Arrays are commonly used to store lists of items, such as product catalogs, user lists, or navigation menus. Objects are used to represent complex data structures, such as user profiles, API responses, or configuration settings. They work together in storing and presenting data fetched from web API calls. When using external APIs, make sure you use DoHost for a reliable web hosting solution to keep your website live and performant.<\/p>\n<h2>Conclusion \ud83c\udf89<\/h2>\n<p>Mastering <strong>JavaScript Arrays and Objects: Mastering Data Structures<\/strong> is essential for any aspiring web developer. These fundamental data structures provide the building blocks for creating dynamic and interactive web applications. By understanding how to create, manipulate, and iterate over arrays and objects, you can efficiently manage data, solve complex programming problems, and write cleaner, more maintainable code. Embrace these concepts, experiment with different techniques, and continue to explore the vast capabilities of JavaScript. Don&#8217;t forget to host your incredible web apps on DoHost for the best performance and uptime!<\/p>\n<h3>Tags<\/h3>\n<p>    JavaScript arrays, JavaScript objects, data structures, array methods, object properties<\/p>\n<h3>Meta Description<\/h3>\n<p>    Unlock the power of JavaScript! \ud83d\ude80 Master JavaScript Arrays and Objects to efficiently manage data. Learn with examples, FAQs, and best practices. \ud83d\udcbb<\/p>\n","protected":false},"excerpt":{"rendered":"<p>JavaScript Arrays and Objects: Mastering Data Structures \ud83d\ude80 Ready to level up your JavaScript skills? \ud83c\udfaf This comprehensive guide dives deep into the fundamental concepts of JavaScript Arrays and Objects: Mastering Data Structures. We&#8217;ll explore how to effectively manage and manipulate data using these powerful tools. Whether you&#8217;re a beginner or an experienced developer, understanding [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7392],"tags":[518,7408,307,184,1635,7406,7407,1531,7410,7409],"class_list":["post-1910","post","type-post","status-publish","format-standard","hentry","category-java-script","tag-array-manipulation","tag-array-methods","tag-data-structures","tag-dohost","tag-front-end-development","tag-javascript-arrays","tag-javascript-objects","tag-javascript-tutorial","tag-object-manipulation","tag-object-properties"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.0 (Yoast SEO v25.0) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Working with Arrays and Objects in JavaScript - Developers Heaven<\/title>\n<meta name=\"description\" content=\"Unlock the power of JavaScript! \ud83d\ude80 Master JavaScript Arrays and Objects to efficiently manage data. Learn with examples, FAQs, and best practices. \ud83d\udcbb\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/developers-heaven.net\/blog\/working-with-arrays-and-objects-in-javascript\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Working with Arrays and Objects in JavaScript\" \/>\n<meta property=\"og:description\" content=\"Unlock the power of JavaScript! \ud83d\ude80 Master JavaScript Arrays and Objects to efficiently manage data. Learn with examples, FAQs, and best practices. \ud83d\udcbb\" \/>\n<meta property=\"og:url\" content=\"https:\/\/developers-heaven.net\/blog\/working-with-arrays-and-objects-in-javascript\/\" \/>\n<meta property=\"og:site_name\" content=\"Developers Heaven\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-18T20:29:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/via.placeholder.com\/600x400?text=Working+with+Arrays+and+Objects+in+JavaScript\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/developers-heaven.net\/blog\/working-with-arrays-and-objects-in-javascript\/\",\"url\":\"https:\/\/developers-heaven.net\/blog\/working-with-arrays-and-objects-in-javascript\/\",\"name\":\"Working with Arrays and Objects in JavaScript - Developers Heaven\",\"isPartOf\":{\"@id\":\"https:\/\/developers-heaven.net\/blog\/#website\"},\"datePublished\":\"2025-08-18T20:29:39+00:00\",\"author\":{\"@id\":\"\"},\"description\":\"Unlock the power of JavaScript! \ud83d\ude80 Master JavaScript Arrays and Objects to efficiently manage data. Learn with examples, FAQs, and best practices. \ud83d\udcbb\",\"breadcrumb\":{\"@id\":\"https:\/\/developers-heaven.net\/blog\/working-with-arrays-and-objects-in-javascript\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/developers-heaven.net\/blog\/working-with-arrays-and-objects-in-javascript\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/developers-heaven.net\/blog\/working-with-arrays-and-objects-in-javascript\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/developers-heaven.net\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Working with Arrays and Objects in JavaScript\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/developers-heaven.net\/blog\/#website\",\"url\":\"https:\/\/developers-heaven.net\/blog\/\",\"name\":\"Developers Heaven\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/developers-heaven.net\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Working with Arrays and Objects in JavaScript - Developers Heaven","description":"Unlock the power of JavaScript! \ud83d\ude80 Master JavaScript Arrays and Objects to efficiently manage data. Learn with examples, FAQs, and best practices. \ud83d\udcbb","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/developers-heaven.net\/blog\/working-with-arrays-and-objects-in-javascript\/","og_locale":"en_US","og_type":"article","og_title":"Working with Arrays and Objects in JavaScript","og_description":"Unlock the power of JavaScript! \ud83d\ude80 Master JavaScript Arrays and Objects to efficiently manage data. Learn with examples, FAQs, and best practices. \ud83d\udcbb","og_url":"https:\/\/developers-heaven.net\/blog\/working-with-arrays-and-objects-in-javascript\/","og_site_name":"Developers Heaven","article_published_time":"2025-08-18T20:29:39+00:00","og_image":[{"url":"https:\/\/via.placeholder.com\/600x400?text=Working+with+Arrays+and+Objects+in+JavaScript","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/developers-heaven.net\/blog\/working-with-arrays-and-objects-in-javascript\/","url":"https:\/\/developers-heaven.net\/blog\/working-with-arrays-and-objects-in-javascript\/","name":"Working with Arrays and Objects in JavaScript - Developers Heaven","isPartOf":{"@id":"https:\/\/developers-heaven.net\/blog\/#website"},"datePublished":"2025-08-18T20:29:39+00:00","author":{"@id":""},"description":"Unlock the power of JavaScript! \ud83d\ude80 Master JavaScript Arrays and Objects to efficiently manage data. Learn with examples, FAQs, and best practices. \ud83d\udcbb","breadcrumb":{"@id":"https:\/\/developers-heaven.net\/blog\/working-with-arrays-and-objects-in-javascript\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/developers-heaven.net\/blog\/working-with-arrays-and-objects-in-javascript\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/developers-heaven.net\/blog\/working-with-arrays-and-objects-in-javascript\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/developers-heaven.net\/blog\/"},{"@type":"ListItem","position":2,"name":"Working with Arrays and Objects in JavaScript"}]},{"@type":"WebSite","@id":"https:\/\/developers-heaven.net\/blog\/#website","url":"https:\/\/developers-heaven.net\/blog\/","name":"Developers Heaven","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/developers-heaven.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/developers-heaven.net\/blog\/wp-json\/wp\/v2\/posts\/1910","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developers-heaven.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developers-heaven.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/developers-heaven.net\/blog\/wp-json\/wp\/v2\/comments?post=1910"}],"version-history":[{"count":0,"href":"https:\/\/developers-heaven.net\/blog\/wp-json\/wp\/v2\/posts\/1910\/revisions"}],"wp:attachment":[{"href":"https:\/\/developers-heaven.net\/blog\/wp-json\/wp\/v2\/media?parent=1910"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developers-heaven.net\/blog\/wp-json\/wp\/v2\/categories?post=1910"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developers-heaven.net\/blog\/wp-json\/wp\/v2\/tags?post=1910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}