{"id":82,"date":"2007-05-15T13:02:26","date_gmt":"2007-05-15T21:02:26","guid":{"rendered":"http:\/\/dougmccune.com\/blog\/2007\/05\/15\/multi-line-strings-in-actionscript-3\/"},"modified":"2013-06-09T20:21:54","modified_gmt":"2013-06-10T04:21:54","slug":"multi-line-strings-in-actionscript-3","status":"publish","type":"post","link":"https:\/\/dougmccune.com\/blog\/2007\/05\/15\/multi-line-strings-in-actionscript-3\/","title":{"rendered":"Multi-line strings in Actionscript 3"},"content":{"rendered":"<p>Jesus, this took me a bazillion hours to figure out.<\/p>\n<p>OK, so I wanted to set a String variable in Actionscript. The actual value I wanted was a block of Javascript code (more on why in a second). In <a href=\"http:\/\/us2.php.net\/heredoc\">PHP<\/a> we&#8217;re allowed to use something called <a href=\"http:\/\/en.wikipedia.org\/wiki\/Here_document\">heredoc<\/a> syntax. So I could write my code like this:<\/p>\n<p><code>$str = <<<EOD\nExample of string\nspanning multiple lines\nusing heredoc syntax.\nEOD;<\/code><\/p>\n<p>and then my variable would contain the multi-line string with line breaks and all. Sweet, that's what I wanted to do. Turns out AS3 doesn't support heredoc syntax. So that sucks. <\/p>\n<p>I spent the next few hours banging my head on a wall trying to figure out how to cut and paste my long block of code that I wanted to get into a String to work correctly in my AS code. Googling \"actionscript heredoc\" gave me nothing. Googling \"actionscript multi-line string\" gave me nothing. The golden nugget was finally realizing that AS3 is basically Javascript 2, so maybe some JS guys had figured this one out. Turns out they did. Here's the <a href=\"http:\/\/mook.wordpress.com\/2005\/10\/30\/multi-line-strings-in-javascript\/\">JS nugget<\/a> that led me to my solution. <\/p>\n<p>You can use the same method in Actionscript 3. So your AS code would look like:<\/p>\n<pre><code>private var myString:String = ( <![CDATA[\r\n\t\t\t\tHere is my string \r\n\t\t\t\tthat spans multiple \r\n\t\t\t\tlines.\r\n\t\t\t\t]]> ).toString();<\/code><\/pre>\n<p>It's easier in MXML, in that case all you need to do is something like: <\/p>\n<pre><code><mx:String id=\"myString\">\r\n\t<![CDATA[\r\n\t\tHere is my string \r\n\t\tthat spans multiple \r\n\t\tlines.\r\n\t]]>\r\n<\/mx:String><\/code><\/pre>\n<p>So that's how you simulate the heredoc syntax in AS3. <\/p>\n<p>And a quick note: when I was trying to figure this out I was making a class that injected Javascript code into the HTML wrapper for a component to execute. See <a href=\"http:\/\/www.abdulqabiz.com\/blog\/archives\/macromedia_flex\/a_mxml_componen.php\">Abdul Qabiz's post here<\/a> for a description of this method and a utility class to help you do this. Basically this let me write a component that used both Actionscript and Javascript and I could keep all my AS code <strong>and<\/strong> my JS code within the Actionscript component (as opposed to putting in the HTML wrapper). That's pretty frickin cool.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Jesus, this took me a bazillion hours to figure out. OK, so I wanted to set a String variable in Actionscript. The actual value I wanted was a block of Javascript code (more on why in a second). In PHP we&#8217;re allowed to use something called heredoc syntax. So I could write my code like [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[2],"tags":[7],"class_list":["post-82","post","type-post","status-publish","format-standard","hentry","category-flex","tag-actionscript"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Jesus, this took me a bazillion hours to figure out. OK, so I wanted to set a String variable in Actionscript. The actual value I wanted was a block of Javascript code (more on why in a second). In PHP we&#039;re allowed to use something called heredoc syntax. So I could write my code like\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Doug\"\/>\n\t<meta name=\"keywords\" content=\"flex\/flash\/actionscript\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/dougmccune.com\/blog\/2007\/05\/15\/multi-line-strings-in-actionscript-3\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Doug McCune | Sculptor\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Multi-line strings in Actionscript 3 | Doug McCune\" \/>\n\t\t<meta property=\"og:description\" content=\"Jesus, this took me a bazillion hours to figure out. OK, so I wanted to set a String variable in Actionscript. The actual value I wanted was a block of Javascript code (more on why in a second). In PHP we&#039;re allowed to use something called heredoc syntax. So I could write my code like\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/dougmccune.com\/blog\/2007\/05\/15\/multi-line-strings-in-actionscript-3\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2007-05-15T21:02:26+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2013-06-10T04:21:54+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Multi-line strings in Actionscript 3 | Doug McCune\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Jesus, this took me a bazillion hours to figure out. OK, so I wanted to set a String variable in Actionscript. The actual value I wanted was a block of Javascript code (more on why in a second). In PHP we&#039;re allowed to use something called heredoc syntax. So I could write my code like\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/2007\\\/05\\\/15\\\/multi-line-strings-in-actionscript-3\\\/#article\",\"name\":\"Multi-line strings in Actionscript 3 | Doug McCune\",\"headline\":\"Multi-line strings in Actionscript 3\",\"author\":{\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/author\\\/admin-2\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/2007\\\/05\\\/15\\\/multi-line-strings-in-actionscript-3\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1559cc79696919726297c735cddc893c8983709f55a8773bdc1d45aea8c79051?s=96&d=blank&r=x\",\"width\":96,\"height\":96,\"caption\":\"Doug\"},\"datePublished\":\"2007-05-15T13:02:26-08:00\",\"dateModified\":\"2013-06-09T20:21:54-08:00\",\"inLanguage\":\"en-US\",\"commentCount\":30,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/2007\\\/05\\\/15\\\/multi-line-strings-in-actionscript-3\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/2007\\\/05\\\/15\\\/multi-line-strings-in-actionscript-3\\\/#webpage\"},\"articleSection\":\"Flex\\\/Flash\\\/Actionscript, Actionscript\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/2007\\\/05\\\/15\\\/multi-line-strings-in-actionscript-3\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/dougmccune.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/category\\\/flex\\\/#listItem\",\"name\":\"Flex\\\/Flash\\\/Actionscript\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/category\\\/flex\\\/#listItem\",\"position\":2,\"name\":\"Flex\\\/Flash\\\/Actionscript\",\"item\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/category\\\/flex\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/2007\\\/05\\\/15\\\/multi-line-strings-in-actionscript-3\\\/#listItem\",\"name\":\"Multi-line strings in Actionscript 3\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/2007\\\/05\\\/15\\\/multi-line-strings-in-actionscript-3\\\/#listItem\",\"position\":3,\"name\":\"Multi-line strings in Actionscript 3\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/category\\\/flex\\\/#listItem\",\"name\":\"Flex\\\/Flash\\\/Actionscript\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/#person\",\"name\":\"Doug McCune\",\"image\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/tTL5uiW4_400x400.jpeg\",\"sameAs\":[\"https:\\\/\\\/instagram.com\\\/doug_mccune\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/author\\\/admin-2\\\/#author\",\"url\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/author\\\/admin-2\\\/\",\"name\":\"Doug\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/2007\\\/05\\\/15\\\/multi-line-strings-in-actionscript-3\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1559cc79696919726297c735cddc893c8983709f55a8773bdc1d45aea8c79051?s=96&d=blank&r=x\",\"width\":96,\"height\":96,\"caption\":\"Doug\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/2007\\\/05\\\/15\\\/multi-line-strings-in-actionscript-3\\\/#webpage\",\"url\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/2007\\\/05\\\/15\\\/multi-line-strings-in-actionscript-3\\\/\",\"name\":\"Multi-line strings in Actionscript 3 | Doug McCune\",\"description\":\"Jesus, this took me a bazillion hours to figure out. OK, so I wanted to set a String variable in Actionscript. The actual value I wanted was a block of Javascript code (more on why in a second). In PHP we're allowed to use something called heredoc syntax. So I could write my code like\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/2007\\\/05\\\/15\\\/multi-line-strings-in-actionscript-3\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/author\\\/admin-2\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/author\\\/admin-2\\\/#author\"},\"datePublished\":\"2007-05-15T13:02:26-08:00\",\"dateModified\":\"2013-06-09T20:21:54-08:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/\",\"name\":\"Doug McCune\",\"description\":\"Sculptor\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Multi-line strings in Actionscript 3 | Doug McCune","description":"Jesus, this took me a bazillion hours to figure out. OK, so I wanted to set a String variable in Actionscript. The actual value I wanted was a block of Javascript code (more on why in a second). In PHP we're allowed to use something called heredoc syntax. So I could write my code like","canonical_url":"https:\/\/dougmccune.com\/blog\/2007\/05\/15\/multi-line-strings-in-actionscript-3\/","robots":"max-image-preview:large","keywords":"flex\/flash\/actionscript","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/dougmccune.com\/blog\/2007\/05\/15\/multi-line-strings-in-actionscript-3\/#article","name":"Multi-line strings in Actionscript 3 | Doug McCune","headline":"Multi-line strings in Actionscript 3","author":{"@id":"https:\/\/dougmccune.com\/blog\/author\/admin-2\/#author"},"publisher":{"@id":"https:\/\/dougmccune.com\/blog\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/dougmccune.com\/blog\/2007\/05\/15\/multi-line-strings-in-actionscript-3\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/1559cc79696919726297c735cddc893c8983709f55a8773bdc1d45aea8c79051?s=96&d=blank&r=x","width":96,"height":96,"caption":"Doug"},"datePublished":"2007-05-15T13:02:26-08:00","dateModified":"2013-06-09T20:21:54-08:00","inLanguage":"en-US","commentCount":30,"mainEntityOfPage":{"@id":"https:\/\/dougmccune.com\/blog\/2007\/05\/15\/multi-line-strings-in-actionscript-3\/#webpage"},"isPartOf":{"@id":"https:\/\/dougmccune.com\/blog\/2007\/05\/15\/multi-line-strings-in-actionscript-3\/#webpage"},"articleSection":"Flex\/Flash\/Actionscript, Actionscript"},{"@type":"BreadcrumbList","@id":"https:\/\/dougmccune.com\/blog\/2007\/05\/15\/multi-line-strings-in-actionscript-3\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/dougmccune.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/dougmccune.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/dougmccune.com\/blog\/category\/flex\/#listItem","name":"Flex\/Flash\/Actionscript"}},{"@type":"ListItem","@id":"https:\/\/dougmccune.com\/blog\/category\/flex\/#listItem","position":2,"name":"Flex\/Flash\/Actionscript","item":"https:\/\/dougmccune.com\/blog\/category\/flex\/","nextItem":{"@type":"ListItem","@id":"https:\/\/dougmccune.com\/blog\/2007\/05\/15\/multi-line-strings-in-actionscript-3\/#listItem","name":"Multi-line strings in Actionscript 3"},"previousItem":{"@type":"ListItem","@id":"https:\/\/dougmccune.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/dougmccune.com\/blog\/2007\/05\/15\/multi-line-strings-in-actionscript-3\/#listItem","position":3,"name":"Multi-line strings in Actionscript 3","previousItem":{"@type":"ListItem","@id":"https:\/\/dougmccune.com\/blog\/category\/flex\/#listItem","name":"Flex\/Flash\/Actionscript"}}]},{"@type":"Person","@id":"https:\/\/dougmccune.com\/blog\/#person","name":"Doug McCune","image":"https:\/\/dougmccune.com\/blog\/wp-content\/uploads\/2022\/01\/tTL5uiW4_400x400.jpeg","sameAs":["https:\/\/instagram.com\/doug_mccune"]},{"@type":"Person","@id":"https:\/\/dougmccune.com\/blog\/author\/admin-2\/#author","url":"https:\/\/dougmccune.com\/blog\/author\/admin-2\/","name":"Doug","image":{"@type":"ImageObject","@id":"https:\/\/dougmccune.com\/blog\/2007\/05\/15\/multi-line-strings-in-actionscript-3\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/1559cc79696919726297c735cddc893c8983709f55a8773bdc1d45aea8c79051?s=96&d=blank&r=x","width":96,"height":96,"caption":"Doug"}},{"@type":"WebPage","@id":"https:\/\/dougmccune.com\/blog\/2007\/05\/15\/multi-line-strings-in-actionscript-3\/#webpage","url":"https:\/\/dougmccune.com\/blog\/2007\/05\/15\/multi-line-strings-in-actionscript-3\/","name":"Multi-line strings in Actionscript 3 | Doug McCune","description":"Jesus, this took me a bazillion hours to figure out. OK, so I wanted to set a String variable in Actionscript. The actual value I wanted was a block of Javascript code (more on why in a second). In PHP we're allowed to use something called heredoc syntax. So I could write my code like","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/dougmccune.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/dougmccune.com\/blog\/2007\/05\/15\/multi-line-strings-in-actionscript-3\/#breadcrumblist"},"author":{"@id":"https:\/\/dougmccune.com\/blog\/author\/admin-2\/#author"},"creator":{"@id":"https:\/\/dougmccune.com\/blog\/author\/admin-2\/#author"},"datePublished":"2007-05-15T13:02:26-08:00","dateModified":"2013-06-09T20:21:54-08:00"},{"@type":"WebSite","@id":"https:\/\/dougmccune.com\/blog\/#website","url":"https:\/\/dougmccune.com\/blog\/","name":"Doug McCune","description":"Sculptor","inLanguage":"en-US","publisher":{"@id":"https:\/\/dougmccune.com\/blog\/#person"}}]},"og:locale":"en_US","og:site_name":"Doug McCune | Sculptor","og:type":"article","og:title":"Multi-line strings in Actionscript 3 | Doug McCune","og:description":"Jesus, this took me a bazillion hours to figure out. OK, so I wanted to set a String variable in Actionscript. The actual value I wanted was a block of Javascript code (more on why in a second). In PHP we're allowed to use something called heredoc syntax. So I could write my code like","og:url":"https:\/\/dougmccune.com\/blog\/2007\/05\/15\/multi-line-strings-in-actionscript-3\/","article:published_time":"2007-05-15T21:02:26+00:00","article:modified_time":"2013-06-10T04:21:54+00:00","twitter:card":"summary_large_image","twitter:title":"Multi-line strings in Actionscript 3 | Doug McCune","twitter:description":"Jesus, this took me a bazillion hours to figure out. OK, so I wanted to set a String variable in Actionscript. The actual value I wanted was a block of Javascript code (more on why in a second). In PHP we're allowed to use something called heredoc syntax. So I could write my code like"},"aioseo_meta_data":{"post_id":"82","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-01-03 18:02:32","updated":"2025-06-03 20:04:52","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/dougmccune.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/dougmccune.com\/blog\/category\/flex\/\" title=\"Flex\/Flash\/Actionscript\">Flex\/Flash\/Actionscript<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tMulti-line strings in Actionscript 3\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/dougmccune.com\/blog"},{"label":"Flex\/Flash\/Actionscript","link":"https:\/\/dougmccune.com\/blog\/category\/flex\/"},{"label":"Multi-line strings in Actionscript 3","link":"https:\/\/dougmccune.com\/blog\/2007\/05\/15\/multi-line-strings-in-actionscript-3\/"}],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/posts\/82","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/comments?post=82"}],"version-history":[{"count":1,"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/posts\/82\/revisions"}],"predecessor-version":[{"id":1802,"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/posts\/82\/revisions\/1802"}],"wp:attachment":[{"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/media?parent=82"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/categories?post=82"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/tags?post=82"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}