{"id":55351,"date":"2010-10-14T14:47:00","date_gmt":"2010-10-14T18:47:00","guid":{"rendered":"https:\/\/spin.aa8q45el-liquidwebsites.com\/2010\/10\/14\/toolsmithing-java-with-jruby"},"modified":"2018-03-13T13:37:55","modified_gmt":"2018-03-13T17:37:55","slug":"toolsmithing-java-with-jruby","status":"publish","type":"post","link":"https:\/\/spin.atomicobject.com\/toolsmithing-java-with-jruby\/","title":{"rendered":"Toolsmithing Java with JRuby"},"content":{"rendered":"<p><a style=\"border: none !important; float: right;\" title=\"Perfect Handle Counterfeits by Noel C. Hankamer, on Flickr\" href=\"https:\/\/www.flickr.com\/photos\/nhankamer\/4702386787\/\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/farm5.static.flickr.com\/4005\/4702386787_6ed676299a_m.jpg\" alt=\"Perfect Handle Counterfeits\" width=\"240\" height=\"210\" \/><\/a><a href=\"https:\/\/jruby.org\/\">JRuby<\/a> is my favorite Java tool. It lets me wield the power of Java libraries while building tools and abstractions to speed development.<\/p>\n<p>On a current project, I\u2019m using <a href=\"https:\/\/jaxb.dev.java.net\/\"><span class=\"caps\">JAXB2<\/span><\/a> to bind a large set of deeply-nested <span class=\"caps\">XML<\/span> Schemas into Java classes. I have a Rake task to create the classes from the xsd files and bundle them into a jar. From there, I import the classes into JRuby where the software uses them to interact with other systems via <span class=\"caps\">XML<\/span> marshaling.<\/p>\n<p>Ruby on its own doesn\u2019t have this power. Integrating with existing <span class=\"caps\">J2EE<\/span> systems, marshaling complex <span class=\"caps\">XML<\/span> files based on multi-layered schema definitions: this is the definition of \u201cheavy-lifting.\u201d So I let Java do that for me. Then I can orchestrate from the podium of JRuby. Now I have tools for language-building, leading-edge testing libraries, and breezy syntax to get work done easier. The power comes from being able to build on the foundation of existing Java tools in JRuby.<\/p>\n<p>For instance, accessing useful bits of info from these <span class=\"caps\">JAXB2<\/span>-generated classes means using complex chains of object properties. In my case, I get over 350 classes that are inter-composed and contain only simple getters and setters. I need to wrangle them easily for my RSpec specifications and my Cucumber features, as well as to make my actual code as simple and expressive as possible.<\/p>\n<p>A common use case for these classes involves reading some property using a deeply-nested getter. In Java, this would look like this:<\/p>\n<table class=\"CodeRay\">\n<tbody>\n<tr>\n<td class=\"line_numbers\" title=\"click to toggle\" onclick=\"with (this.firstChild.style) { display = (display == '') ? 'none' : '' }\">\n<pre><tt>\r\n<\/tt><\/pre>\n<\/td>\n<td class=\"code\">\n<pre ondblclick=\"with (this.style) { overflow = (overflow == 'auto' || overflow == '') ? 'visible' : 'auto' }\"><span class=\"pt\">String<\/span> name = customerResponse.getTransaction().getPerson().getName().getFirstName();<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>in JRuby, it could look like this:<\/p>\n<table class=\"CodeRay\">\n<tbody>\n<tr>\n<td class=\"line_numbers\" title=\"click to toggle\" onclick=\"with (this.firstChild.style) { display = (display == '') ? 'none' : '' }\">\n<pre><tt>\r\n<\/tt><\/pre>\n<\/td>\n<td class=\"code\">\n<pre ondblclick=\"with (this.style) { overflow = (overflow == 'auto' || overflow == '') ? 'visible' : 'auto' }\">name = customer_response.transaction.person.name.first_name<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>This is already a small improvement, but what about when I need to set that value? Since much of my <span class=\"caps\">XML<\/span> structure is optional, the intermediate objects are frequently not present. With Java, this is where things get messy:<\/p>\n<table class=\"CodeRay\">\n<tbody>\n<tr>\n<td class=\"line_numbers\" title=\"click to toggle\" onclick=\"with (this.firstChild.style) { display = (display == '') ? 'none' : '' }\">\n<pre>1<tt>\r\n<\/tt>2<tt>\r\n<\/tt>3<tt>\r\n<\/tt>4<tt>\r\n<\/tt>5<tt>\r\n<\/tt>6<tt>\r\n<\/tt>7<tt>\r\n<\/tt>8<tt>\r\n<\/tt><\/pre>\n<\/td>\n<td class=\"code\">\n<pre ondblclick=\"with (this.style) { overflow = (overflow == 'auto' || overflow == '') ? 'visible' : 'auto' }\">Transaction transaction = new Transaction();<tt>\r\n<\/tt>Person person = new Person();<tt>\r\n<\/tt>Name name = new Name();<tt>\r\n<\/tt><span class=\"pt\">String<\/span> firstName = <span class=\"s\"><span class=\"dl\">\"<\/span><span class=\"k\">Marshal<\/span><span class=\"dl\">\"<\/span><\/span>;<tt>\r\n<\/tt>name.setFirstName(firstName);<tt>\r\n<\/tt>person.setName(name);<tt>\r\n<\/tt>transaction.setPerson(person);<tt>\r\n<\/tt>customerResponse.setTransaction(transaction);<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Ugh. I feel less alive for having typed all that. Luckily JRuby offers some help out of the box:<\/p>\n<table class=\"CodeRay\">\n<tbody>\n<tr>\n<td class=\"line_numbers\" title=\"click to toggle\" onclick=\"with (this.firstChild.style) { display = (display == '') ? 'none' : '' }\">\n<pre>1<tt>\r\n<\/tt>2<tt>\r\n<\/tt>3<tt>\r\n<\/tt>4<tt>\r\n<\/tt><\/pre>\n<\/td>\n<td class=\"code\">\n<pre ondblclick=\"with (this.style) { overflow = (overflow == 'auto' || overflow == '') ? 'visible' : 'auto' }\">customer_response.transaction = <span class=\"co\">Transaction<\/span>.new<tt>\r\n<\/tt>customer_response.transaction.person = <span class=\"co\">Person<\/span>.new<tt>\r\n<\/tt>customer_response.transaction.person.name = <span class=\"co\">Name<\/span>.new<tt>\r\n<\/tt>customer_response.transaction.person.name.first_name = <span class=\"s\"><span class=\"dl\">'<\/span><span class=\"k\">Marshal<\/span><span class=\"dl\">'<\/span><\/span><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Still not very <span class=\"caps\">DRY<\/span>. So here\u2019s where I can put on my <a href=\"https:\/\/www.catb.org\/jargon\/html\/T\/toolsmith.html\">toolsmith<\/a> hat. I wrote a utility that makes this sort of chained access easier. Here\u2019s what the above code looks like now:<\/p>\n<table class=\"CodeRay\">\n<tbody>\n<tr>\n<td class=\"line_numbers\" title=\"click to toggle\" onclick=\"with (this.firstChild.style) { display = (display == '') ? 'none' : '' }\">\n<pre><tt>\r\n<\/tt><\/pre>\n<\/td>\n<td class=\"code\">\n<pre ondblclick=\"with (this.style) { overflow = (overflow == 'auto' || overflow == '') ? 'visible' : 'auto' }\">customer_response.set_chain [<span class=\"sy\">:transaction<\/span>, <span class=\"sy\">:person<\/span>, <span class=\"sy\">:name<\/span>, <span class=\"sy\">:first_name<\/span>], [<span class=\"co\">Transaction<\/span>.new, <span class=\"co\">Person<\/span>.new, <span class=\"co\">Name<\/span>.new, <span class=\"s\"><span class=\"dl\">'<\/span><span class=\"k\">Marshal<\/span><span class=\"dl\">'<\/span><\/span>]<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Here\u2019s the utility that makes that possible: <a href=\"https:\/\/gist.github.com\/626243\">set_chain<\/a><\/p>\n<p><script src=\"https:\/\/gist.github.com\/626243.js\"> <\/script><\/p>\n<p>That\u2019s got some dynamic dispatch, a mix-in, and Object-level enhancement without inheritance. Very Ruby. (Not that you can\u2019t do this sort of thing in other languages. This utility inspired Scott to create DeepSet in C# to deal with the same problem context.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>JRuby is my favorite Java tool. It lets me wield the power of Java libraries while building tools and abstractions to speed development. On a current project, I\u2019m using JAXB2 to bind a large set of deeply-nested XML Schemas into Java classes. I have a Rake task to create the classes from the xsd files [&hellip;]<\/p>\n","protected":false},"author":408,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1765],"tags":[564,582,593],"series":[],"class_list":["post-55351","post","type-post","status-publish","format-standard","hentry","category-jruby-dev","tag-java","tag-jruby","tag-xml"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Toolsmithing Java with JRuby<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/spin.atomicobject.com\/toolsmithing-java-with-jruby\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Toolsmithing Java with JRuby\" \/>\n<meta property=\"og:description\" content=\"JRuby is my favorite Java tool. It lets me wield the power of Java libraries while building tools and abstractions to speed development. On a current project, I\u2019m using JAXB2 to bind a large set of deeply-nested XML Schemas into Java classes. I have a Rake task to create the classes from the xsd files [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/spin.atomicobject.com\/toolsmithing-java-with-jruby\/\" \/>\n<meta property=\"og:site_name\" content=\"Atomic Spin\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/atomicobject\" \/>\n<meta property=\"article:published_time\" content=\"2010-10-14T18:47:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-03-13T17:37:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/farm5.static.flickr.com\/4005\/4702386787_6ed676299a_m.jpg\" \/>\n<meta name=\"author\" content=\"Karlin Fox\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@atomicobject\" \/>\n<meta name=\"twitter:site\" content=\"@atomicobject\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Karlin Fox\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/toolsmithing-java-with-jruby\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/toolsmithing-java-with-jruby\\\/\"},\"author\":{\"name\":\"Karlin Fox\",\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/#\\\/schema\\\/person\\\/dfbbd5460166241accae77f0bc396272\"},\"headline\":\"Toolsmithing Java with JRuby\",\"datePublished\":\"2010-10-14T18:47:00+00:00\",\"dateModified\":\"2018-03-13T17:37:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/toolsmithing-java-with-jruby\\\/\"},\"wordCount\":409,\"publisher\":{\"@id\":\"https:\\\/\\\/atomicobject.com\\\/\"},\"image\":{\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/toolsmithing-java-with-jruby\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/farm5.static.flickr.com\\\/4005\\\/4702386787_6ed676299a_m.jpg\",\"keywords\":[\"java\",\"jruby\",\"XML\"],\"articleSection\":[\"jRuby\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/toolsmithing-java-with-jruby\\\/\",\"url\":\"https:\\\/\\\/spin.atomicobject.com\\\/toolsmithing-java-with-jruby\\\/\",\"name\":\"Toolsmithing Java with JRuby\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/toolsmithing-java-with-jruby\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/toolsmithing-java-with-jruby\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/farm5.static.flickr.com\\\/4005\\\/4702386787_6ed676299a_m.jpg\",\"datePublished\":\"2010-10-14T18:47:00+00:00\",\"dateModified\":\"2018-03-13T17:37:55+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/spin.atomicobject.com\\\/toolsmithing-java-with-jruby\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/toolsmithing-java-with-jruby\\\/#primaryimage\",\"url\":\"https:\\\/\\\/farm5.static.flickr.com\\\/4005\\\/4702386787_6ed676299a_m.jpg\",\"contentUrl\":\"https:\\\/\\\/farm5.static.flickr.com\\\/4005\\\/4702386787_6ed676299a_m.jpg\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/#website\",\"url\":\"https:\\\/\\\/spin.atomicobject.com\\\/\",\"name\":\"Atomic Spin\",\"description\":\"Atomic Object\u2019s blog on everything we find fascinating.\",\"publisher\":{\"@id\":\"https:\\\/\\\/atomicobject.com\\\/\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/spin.atomicobject.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/#organization\",\"name\":\"Atomic Object\",\"url\":\"https:\\\/\\\/spin.atomicobject.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/spin.atomicobject.com\\\/wp-content\\\/uploads\\\/AO-Logo-Emblem-Color.png\",\"contentUrl\":\"https:\\\/\\\/spin.atomicobject.com\\\/wp-content\\\/uploads\\\/AO-Logo-Emblem-Color.png\",\"width\":258,\"height\":244,\"caption\":\"Atomic Object\"},\"image\":{\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/atomicobject\",\"https:\\\/\\\/x.com\\\/atomicobject\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/#\\\/schema\\\/person\\\/dfbbd5460166241accae77f0bc396272\",\"name\":\"Karlin Fox\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/10d70721d06479f754996db83b35716f20beb2ed21a393bcb0c5cbdac2211147?s=96&d=blank&r=pg\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/10d70721d06479f754996db83b35716f20beb2ed21a393bcb0c5cbdac2211147?s=96&d=blank&r=pg\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/10d70721d06479f754996db83b35716f20beb2ed21a393bcb0c5cbdac2211147?s=96&d=blank&r=pg\",\"caption\":\"Karlin Fox\"},\"url\":\"https:\\\/\\\/spin.atomicobject.com\\\/author\\\/fox\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Toolsmithing Java with JRuby","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:\/\/spin.atomicobject.com\/toolsmithing-java-with-jruby\/","og_locale":"en_US","og_type":"article","og_title":"Toolsmithing Java with JRuby","og_description":"JRuby is my favorite Java tool. It lets me wield the power of Java libraries while building tools and abstractions to speed development. On a current project, I\u2019m using JAXB2 to bind a large set of deeply-nested XML Schemas into Java classes. I have a Rake task to create the classes from the xsd files [&hellip;]","og_url":"https:\/\/spin.atomicobject.com\/toolsmithing-java-with-jruby\/","og_site_name":"Atomic Spin","article_publisher":"https:\/\/www.facebook.com\/atomicobject","article_published_time":"2010-10-14T18:47:00+00:00","article_modified_time":"2018-03-13T17:37:55+00:00","og_image":[{"url":"https:\/\/farm5.static.flickr.com\/4005\/4702386787_6ed676299a_m.jpg","type":"","width":"","height":""}],"author":"Karlin Fox","twitter_card":"summary_large_image","twitter_creator":"@atomicobject","twitter_site":"@atomicobject","twitter_misc":{"Written by":"Karlin Fox","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/spin.atomicobject.com\/toolsmithing-java-with-jruby\/#article","isPartOf":{"@id":"https:\/\/spin.atomicobject.com\/toolsmithing-java-with-jruby\/"},"author":{"name":"Karlin Fox","@id":"https:\/\/spin.atomicobject.com\/#\/schema\/person\/dfbbd5460166241accae77f0bc396272"},"headline":"Toolsmithing Java with JRuby","datePublished":"2010-10-14T18:47:00+00:00","dateModified":"2018-03-13T17:37:55+00:00","mainEntityOfPage":{"@id":"https:\/\/spin.atomicobject.com\/toolsmithing-java-with-jruby\/"},"wordCount":409,"publisher":{"@id":"https:\/\/atomicobject.com\/"},"image":{"@id":"https:\/\/spin.atomicobject.com\/toolsmithing-java-with-jruby\/#primaryimage"},"thumbnailUrl":"https:\/\/farm5.static.flickr.com\/4005\/4702386787_6ed676299a_m.jpg","keywords":["java","jruby","XML"],"articleSection":["jRuby"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/spin.atomicobject.com\/toolsmithing-java-with-jruby\/","url":"https:\/\/spin.atomicobject.com\/toolsmithing-java-with-jruby\/","name":"Toolsmithing Java with JRuby","isPartOf":{"@id":"https:\/\/spin.atomicobject.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/spin.atomicobject.com\/toolsmithing-java-with-jruby\/#primaryimage"},"image":{"@id":"https:\/\/spin.atomicobject.com\/toolsmithing-java-with-jruby\/#primaryimage"},"thumbnailUrl":"https:\/\/farm5.static.flickr.com\/4005\/4702386787_6ed676299a_m.jpg","datePublished":"2010-10-14T18:47:00+00:00","dateModified":"2018-03-13T17:37:55+00:00","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/spin.atomicobject.com\/toolsmithing-java-with-jruby\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/spin.atomicobject.com\/toolsmithing-java-with-jruby\/#primaryimage","url":"https:\/\/farm5.static.flickr.com\/4005\/4702386787_6ed676299a_m.jpg","contentUrl":"https:\/\/farm5.static.flickr.com\/4005\/4702386787_6ed676299a_m.jpg"},{"@type":"WebSite","@id":"https:\/\/spin.atomicobject.com\/#website","url":"https:\/\/spin.atomicobject.com\/","name":"Atomic Spin","description":"Atomic Object\u2019s blog on everything we find fascinating.","publisher":{"@id":"https:\/\/atomicobject.com\/"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/spin.atomicobject.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/spin.atomicobject.com\/#organization","name":"Atomic Object","url":"https:\/\/spin.atomicobject.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/spin.atomicobject.com\/#\/schema\/logo\/image\/","url":"https:\/\/spin.atomicobject.com\/wp-content\/uploads\/AO-Logo-Emblem-Color.png","contentUrl":"https:\/\/spin.atomicobject.com\/wp-content\/uploads\/AO-Logo-Emblem-Color.png","width":258,"height":244,"caption":"Atomic Object"},"image":{"@id":"https:\/\/spin.atomicobject.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/atomicobject","https:\/\/x.com\/atomicobject"]},{"@type":"Person","@id":"https:\/\/spin.atomicobject.com\/#\/schema\/person\/dfbbd5460166241accae77f0bc396272","name":"Karlin Fox","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/10d70721d06479f754996db83b35716f20beb2ed21a393bcb0c5cbdac2211147?s=96&d=blank&r=pg","url":"https:\/\/secure.gravatar.com\/avatar\/10d70721d06479f754996db83b35716f20beb2ed21a393bcb0c5cbdac2211147?s=96&d=blank&r=pg","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10d70721d06479f754996db83b35716f20beb2ed21a393bcb0c5cbdac2211147?s=96&d=blank&r=pg","caption":"Karlin Fox"},"url":"https:\/\/spin.atomicobject.com\/author\/fox\/"}]}},"_links":{"self":[{"href":"https:\/\/spin.atomicobject.com\/wp-json\/wp\/v2\/posts\/55351","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spin.atomicobject.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/spin.atomicobject.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/spin.atomicobject.com\/wp-json\/wp\/v2\/users\/408"}],"replies":[{"embeddable":true,"href":"https:\/\/spin.atomicobject.com\/wp-json\/wp\/v2\/comments?post=55351"}],"version-history":[{"count":0,"href":"https:\/\/spin.atomicobject.com\/wp-json\/wp\/v2\/posts\/55351\/revisions"}],"wp:attachment":[{"href":"https:\/\/spin.atomicobject.com\/wp-json\/wp\/v2\/media?parent=55351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/spin.atomicobject.com\/wp-json\/wp\/v2\/categories?post=55351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/spin.atomicobject.com\/wp-json\/wp\/v2\/tags?post=55351"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/spin.atomicobject.com\/wp-json\/wp\/v2\/series?post=55351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}