{"id":110,"date":"2026-06-02T12:03:47","date_gmt":"2026-06-02T12:03:47","guid":{"rendered":"https:\/\/gigz.pk\/javaapp\/?post_type=lesson&#038;p=110"},"modified":"2026-06-06T07:19:13","modified_gmt":"2026-06-06T07:19:13","slug":"encapsulation","status":"publish","type":"lesson","link":"https:\/\/gigz.pk\/javaapp\/?lesson=encapsulation","title":{"rendered":"Encapsulation"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Encapsulation is one of the four fundamental principles of Object-Oriented Programming (OOP) in Java. It is the process of wrapping data and methods together into a single unit while restricting direct access to the internal details of an object. Encapsulation helps protect data, improve security, and make applications easier to maintain.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In Java, encapsulation is commonly achieved by declaring variables as private and providing public getter and setter methods to access and modify those variables. Understanding encapsulation is essential for building secure, scalable, and professional Java applications.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is Encapsulation in Java?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Encapsulation is the technique of hiding an object&#8217;s internal data and allowing controlled access through methods.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It combines:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Data (variables)<\/li>\n\n\n\n<li>Behavior (methods)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">into a single class.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This prevents external code from directly modifying object data and helps maintain data integrity.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why is Encapsulation Important?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Encapsulation provides several benefits:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Protects sensitive data<\/li>\n\n\n\n<li>Improves application security<\/li>\n\n\n\n<li>Prevents unauthorized access<\/li>\n\n\n\n<li>Supports code reusability<\/li>\n\n\n\n<li>Makes maintenance easier<\/li>\n\n\n\n<li>Improves flexibility<\/li>\n\n\n\n<li>Supports Object-Oriented Programming principles<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">It is widely used in Java applications, Android development, and enterprise software systems.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How Encapsulation Works<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The basic steps for implementing encapsulation are:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Declare class variables as private.<\/li>\n\n\n\n<li>Create public getter methods to retrieve values.<\/li>\n\n\n\n<li>Create public setter methods to update values.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">This allows controlled access to the data.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Example Without Encapsulation<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>class Student {\n\n    public String name;\n\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Using the class:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Student student = new Student();\n\nstudent.name = \"Ali\";\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In this example, the variable can be modified directly, which may lead to data security issues.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Example of Encapsulation<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>class Student {\n\n    private String name;\n\n    public void setName(String studentName) {\n\n        name = studentName;\n\n    }\n\n    public String getName() {\n\n        return name;\n\n    }\n\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Using the class:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public class Main {\n\n    public static void main(String&#91;] args) {\n\n        Student student = new Student();\n\n        student.setName(\"Ahmed\");\n\n        System.out.println(student.getName());\n\n    }\n\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Output:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Ahmed\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The variable is protected while still allowing controlled access.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Private Variables<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Private variables can only be accessed within the same class.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>class Employee {\n\n    private double salary;\n\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">External classes cannot directly access the salary variable.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is the foundation of encapsulation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Getter Methods<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Getter methods return the value of private variables.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public String getName() {\n\n    return name;\n\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Purpose of getters:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Read data safely<\/li>\n\n\n\n<li>Provide controlled access<\/li>\n\n\n\n<li>Support data validation if needed<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">They are commonly called accessor methods.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Setter Methods<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Setter methods update private variables.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public void setName(String studentName) {\n\n    name = studentName;\n\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Purpose of setters:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Modify data safely<\/li>\n\n\n\n<li>Validate input values<\/li>\n\n\n\n<li>Protect object integrity<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">They are commonly called mutator methods.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Complete Encapsulation Example<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>class Employee {\n\n    private String name;\n    private double salary;\n\n    public void setName(String employeeName) {\n\n        name = employeeName;\n\n    }\n\n    public String getName() {\n\n        return name;\n\n    }\n\n    public void setSalary(double employeeSalary) {\n\n        salary = employeeSalary;\n\n    }\n\n    public double getSalary() {\n\n        return salary;\n\n    }\n\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Using the class:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public class Main {\n\n    public static void main(String&#91;] args) {\n\n        Employee emp = new Employee();\n\n        emp.setName(\"Ali\");\n        emp.setSalary(50000);\n\n        System.out.println(emp.getName());\n        System.out.println(emp.getSalary());\n\n    }\n\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Output:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Ali\n50000.0\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This demonstrates proper encapsulation of multiple variables.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Data Validation with Encapsulation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">One major advantage of encapsulation is input validation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>class BankAccount {\n\n    private double balance;\n\n    public void setBalance(double amount) {\n\n        if (amount &gt;= 0) {\n\n            balance = amount;\n\n        }\n\n    }\n\n    public double getBalance() {\n\n        return balance;\n\n    }\n\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Here, negative values cannot be assigned.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This improves data security and reliability.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Real-World Example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Consider an online banking application.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>class Account {\n\n    private double balance;\n\n    public void deposit(double amount) {\n\n        if (amount &gt; 0) {\n\n            balance += amount;\n\n        }\n\n    }\n\n    public double getBalance() {\n\n        return balance;\n\n    }\n\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The balance remains protected while allowing safe transactions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is a common use of encapsulation in professional software development.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Benefits of Encapsulation<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Improved Security<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Sensitive information remains hidden from unauthorized access.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Better Data Control<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Data can only be modified through approved methods.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Increased Flexibility<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Internal implementation can change without affecting external code.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Easier Maintenance<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Well-encapsulated classes are easier to update and manage.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Improved Reusability<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Classes become more modular and reusable.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Reduced Complexity<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Users interact with simple methods instead of internal implementation details.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Encapsulation and Access Modifiers<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Encapsulation relies heavily on access modifiers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Common approach:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>private variables\npublic getters\npublic setters\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>private String name;\n<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>public String getName() {\n\n    return name;\n\n}\n<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>public void setName(String name) {\n\n    this.name = name;\n\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Access modifiers help enforce encapsulation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Encapsulation in Android Development<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Encapsulation is widely used in Android applications.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Examples include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>User profile management<\/li>\n\n\n\n<li>Authentication systems<\/li>\n\n\n\n<li>Database operations<\/li>\n\n\n\n<li>API response models<\/li>\n\n\n\n<li>Application settings<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Proper encapsulation improves application security and maintainability.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Applications of Encapsulation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Encapsulation is commonly used in:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Banking systems<\/li>\n\n\n\n<li>Hospital management software<\/li>\n\n\n\n<li>Student management systems<\/li>\n\n\n\n<li>E-commerce applications<\/li>\n\n\n\n<li>Inventory management systems<\/li>\n\n\n\n<li>Android apps<\/li>\n\n\n\n<li>Enterprise software<\/li>\n\n\n\n<li>Web applications<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Almost every professional Java application uses encapsulation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Common Beginner Mistakes<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Using Public Variables<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Incorrect:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public String password;\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Sensitive data should generally be private.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Missing Getter and Setter Methods<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Private variables become inaccessible without proper methods.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Skipping Validation<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Allowing invalid data can cause application errors.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Confusing Encapsulation with Data Hiding<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Data hiding is part of encapsulation, but encapsulation also includes controlled access through methods.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Best Practices<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When implementing encapsulation:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Keep variables private<\/li>\n\n\n\n<li>Use meaningful getter and setter names<\/li>\n\n\n\n<li>Validate user input<\/li>\n\n\n\n<li>Expose only necessary methods<\/li>\n\n\n\n<li>Protect sensitive information<\/li>\n\n\n\n<li>Follow Java naming conventions<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">These practices improve software quality and security.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Importance of Encapsulation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Encapsulation is important because it:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Protects data from unauthorized access<\/li>\n\n\n\n<li>Supports secure application development<\/li>\n\n\n\n<li>Improves maintainability<\/li>\n\n\n\n<li>Enhances flexibility<\/li>\n\n\n\n<li>Promotes modular programming<\/li>\n\n\n\n<li>Strengthens Object-Oriented Design<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">It is one of the most widely used OOP concepts in professional software development.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Encapsulation in Java is the process of hiding internal data and providing controlled access through methods. By using private variables and public getter and setter methods, developers can protect data, improve security, and create maintainable applications. Mastering encapsulation is essential for understanding Object-Oriented Programming and building professional Java, Android, and enterprise-level software solutions.<\/p>\n\n\n<div class=\"yoast-breadcrumbs\"><span><span><a href=\"https:\/\/gigz.pk\/javaapp\">Home<\/a><\/span> \u00bb <span class=\"breadcrumb_last\" aria-current=\"page\">Intermediate Java > Object-Oriented Programming > Encapsulation<\/span><\/span><\/div>\n\n\n<div class=\"schema-faq wp-block-yoast-faq-block\"><\/div>\n","protected":false},"menu_order":28,"template":"","class_list":["post-110","lesson","type-lesson","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Encapsulation - Learn Java used for Apps with GiGz.PK<\/title>\n<meta name=\"description\" content=\"Learn Java encapsulation \u2014 private variables, getter and setter methods, data validation, and real-world OOP examples explained.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gigz.pk\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Encapsulation - Learn Java used for Apps with GiGz.PK\" \/>\n<meta property=\"og:description\" content=\"Learn Java encapsulation \u2014 private variables, getter and setter methods, data validation, and real-world OOP examples explained.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gigz.pk\/\" \/>\n<meta property=\"og:site_name\" content=\"Learn Java used for Apps with GiGz.PK\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-06T07:19:13+00:00\" \/>\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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\\\/\\\/gigz.pk\\\/javaapp\\\/?lesson=encapsulation\",\"url\":\"https:\\\/\\\/gigz.pk\\\/\",\"name\":\"Encapsulation - Learn Java used for Apps with GiGz.PK\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gigz.pk\\\/javaapp\\\/#website\"},\"datePublished\":\"2026-06-02T12:03:47+00:00\",\"dateModified\":\"2026-06-06T07:19:13+00:00\",\"description\":\"Learn Java encapsulation \u2014 private variables, getter and setter methods, data validation, and real-world OOP examples explained.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/gigz.pk\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/gigz.pk\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/gigz.pk\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/gigz.pk\\\/javaapp\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Intermediate Java > Object-Oriented Programming > Encapsulation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/gigz.pk\\\/javaapp\\\/#website\",\"url\":\"https:\\\/\\\/gigz.pk\\\/javaapp\\\/\",\"name\":\"Learn Java used for Apps with GiGz.PK\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/gigz.pk\\\/javaapp\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Encapsulation - Learn Java used for Apps with GiGz.PK","description":"Learn Java encapsulation \u2014 private variables, getter and setter methods, data validation, and real-world OOP examples explained.","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:\/\/gigz.pk\/","og_locale":"en_US","og_type":"article","og_title":"Encapsulation - Learn Java used for Apps with GiGz.PK","og_description":"Learn Java encapsulation \u2014 private variables, getter and setter methods, data validation, and real-world OOP examples explained.","og_url":"https:\/\/gigz.pk\/","og_site_name":"Learn Java used for Apps with GiGz.PK","article_modified_time":"2026-06-06T07:19:13+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["WebPage","FAQPage"],"@id":"https:\/\/gigz.pk\/javaapp\/?lesson=encapsulation","url":"https:\/\/gigz.pk\/","name":"Encapsulation - Learn Java used for Apps with GiGz.PK","isPartOf":{"@id":"https:\/\/gigz.pk\/javaapp\/#website"},"datePublished":"2026-06-02T12:03:47+00:00","dateModified":"2026-06-06T07:19:13+00:00","description":"Learn Java encapsulation \u2014 private variables, getter and setter methods, data validation, and real-world OOP examples explained.","breadcrumb":{"@id":"https:\/\/gigz.pk\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gigz.pk\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/gigz.pk\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gigz.pk\/javaapp"},{"@type":"ListItem","position":2,"name":"Intermediate Java > Object-Oriented Programming > Encapsulation"}]},{"@type":"WebSite","@id":"https:\/\/gigz.pk\/javaapp\/#website","url":"https:\/\/gigz.pk\/javaapp\/","name":"Learn Java used for Apps with GiGz.PK","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gigz.pk\/javaapp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/gigz.pk\/javaapp\/index.php?rest_route=\/wp\/v2\/lesson\/110","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gigz.pk\/javaapp\/index.php?rest_route=\/wp\/v2\/lesson"}],"about":[{"href":"https:\/\/gigz.pk\/javaapp\/index.php?rest_route=\/wp\/v2\/types\/lesson"}],"wp:attachment":[{"href":"https:\/\/gigz.pk\/javaapp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}