{"id":2375,"date":"2016-08-25T15:00:00","date_gmt":"2016-08-25T15:00:00","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=2375"},"modified":"2025-06-13T18:24:15","modified_gmt":"2025-06-14T01:24:15","slug":"the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\/","title":{"rendered":"The Simplicity of RxJava with N1QL Queries and Couchbase"},"content":{"rendered":"<h2>The Simplicity of RxJava with N1QL Queries and Couchbase<\/h2>\n<p>Have you ever tried to query <a href=\"https:\/\/developer.couchbase.com\/documentation\/server\/current\/introduction\/intro.html\">Couchbase<\/a> using N1QL and the Java SDK&apos;s synchronous API? It works well and isn&apos;t particularly difficult, but I find it to be a little messy, and well, synchronous. There are a few different ways to address this. You could write better code, or you can take a look at RxJava which has recently started to grow on me.<\/p>\n<p>In case you&apos;re unfamiliar with RxJava, it is a reactive extension set for Java similar to Rx.NET and RxJS. The great thing is that the Couchbase Java SDK <a href=\"https:\/\/developer.couchbase.com\/documentation\/server\/3.x\/developer\/java-2.0\/observables.html\">integrates very well with this extension set<\/a>. We&apos;re going to take a look at a few snippets of Java code that takes full advantage of RxJava with N1QL.<\/p>\n<p>Let&apos;s say that we have the very simple synchronous query code that follows:<\/p>\n<pre>\r\n<code>\r\npublic static List<Map<String, Object>> fetch(final Bucket bucket) {\r\n    String queryStr = \"SELECT META().id, title, description, type \" +\r\n            \"FROM `\" + bucket.name() + \"` \" +\r\n            \"WHERE type = &apos;task&apos;\";\r\n    N1qlQueryResult result = bucket.query(N1qlQuery.simple(queryStr));\r\n    List<Map<String, Object>> content = new ArrayList<Map<String, Object>>();\r\n    for(N1qlQueryRow row : result) {\r\n        content.add(row.value().toMap());\r\n    }\r\n    return content;\r\n}\r\n<\/code>\r\n<\/pre>\n<p>In the above example we have a simple N1QL query. After executing the query, we get a set of results which we loop through and convert into a Java <code>Map<\/code> and add to a <code>List<\/code>. Finally we return the parsed results. This parsing is common when working with Spring Boot applications, but not limited to.<\/p>\n<p>While the above code wasn&apos;t particularly difficult, there was a lot going on. With RxJava, the above code can be converted into the following:<\/p>\n<pre>\r\n<code>\r\npublic static List<Map<String, Object>> getAll(final Bucket bucket) {\r\n    String queryStr = \"SELECT META().id, title, description, type \" +\r\n            \"FROM `\" + bucket.name() + \"` \" +\r\n            \"WHERE type = &apos;task&apos;\";\r\n    return bucket.async().query(N1qlQuery.simple(queryStr))\r\n            .flatMap(AsyncN1qlQueryResult::rows)\r\n            .map(result -> result.value().toMap())\r\n            .toList()\r\n            .timeout(10, TimeUnit.SECONDS)\r\n            .toBlocking()\r\n            .single();\r\n}\r\n<\/code>\r\n<\/pre>\n<p>Alright, you got me! The RxJava code has more lines, but does that mean it is more complicated or messy?<\/p>\n<p>RxJava uses observables which can be considered values over time. They are asynchronous and can contain a chain of operations as data flows through the pipeline. For example, in our above code we execute the N1QL query asynchronously. The <code>.flatMap<\/code> will do asynchronous transformations against the data that is returned in the query from <code>AsyncN1qlQueryResult<\/code> to type <code>AsyncN1qlQueryRow<\/code> and the <code>.map<\/code> will transform each of the rows returned into a Java <code>Map<\/code>. Because we want a <code>List<\/code> of Java <code>Map<\/code> we can call <code>toList<\/code> which will do exactly that. Because we don&apos;t want to work with an observable in the end we call <code>toBlocking<\/code> which converts the result into an iterable value, or in our case, something the parent function or maybe front-end can work with. We finally end with <code>.single<\/code> because we know we will only ever be returning one <code>List<\/code>.<\/p>\n<p>RxJava is powerful and can be applied to things much more complicated than the example above. The point here is that it is simple to use and provides an event-based approach to asynchronous data manipulation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Simplicity of RxJava with N1QL Queries and Couchbase Have you ever tried to query Couchbase using N1QL and the Java SDK&apos;s synchronous API? It works well and isn&apos;t particularly difficult, but I find it to be a little messy, [&hellip;]<\/p>\n","protected":false},"author":63,"featured_media":13873,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1816,1818,1812],"tags":[],"ppma_author":[9032],"class_list":["post-2375","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-couchbase-server","category-java","category-n1ql-query"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>The Simplicity of RxJava with N1QL Queries and Couchbase - The Couchbase Blog<\/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:\/\/www.couchbase.com\/blog\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Simplicity of RxJava with N1QL Queries and Couchbase\" \/>\n<meta property=\"og:description\" content=\"The Simplicity of RxJava with N1QL Queries and Couchbase Have you ever tried to query Couchbase using N1QL and the Java SDK&amp;apos;s synchronous API? It works well and isn&amp;apos;t particularly difficult, but I find it to be a little messy, [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/thepolyglotdeveloper\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-25T15:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-14T01:24:15+00:00\" \/>\n<meta name=\"author\" content=\"Nic Raboy, Developer Advocate, Couchbase\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@nraboy\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nic Raboy, Developer Advocate, Couchbase\" \/>\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:\\\/\\\/www.couchbase.com\\\/blog\\\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\\\/\"},\"author\":{\"name\":\"Nic Raboy, Developer Advocate, Couchbase\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#\\\/schema\\\/person\\\/bb545ebe83bb2d12f91095811d0a72e1\"},\"headline\":\"The Simplicity of RxJava with N1QL Queries and Couchbase\",\"datePublished\":\"2016-08-25T15:00:00+00:00\",\"dateModified\":\"2025-06-14T01:24:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\\\/\"},\"wordCount\":435,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/1\\\/2022\\\/11\\\/couchbase-nosql-dbaas.png\",\"articleSection\":[\"Couchbase Server\",\"Java\",\"SQL++ \\\/ N1QL Query\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\\\/\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\\\/\",\"name\":\"The Simplicity of RxJava with N1QL Queries and Couchbase - The Couchbase Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/1\\\/2022\\\/11\\\/couchbase-nosql-dbaas.png\",\"datePublished\":\"2016-08-25T15:00:00+00:00\",\"dateModified\":\"2025-06-14T01:24:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/1\\\/2022\\\/11\\\/couchbase-nosql-dbaas.png\",\"contentUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/1\\\/2022\\\/11\\\/couchbase-nosql-dbaas.png\",\"width\":1800,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The Simplicity of RxJava with N1QL Queries and Couchbase\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/\",\"name\":\"The Couchbase Blog\",\"description\":\"Couchbase, the NoSQL Database\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/admin-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/admin-logo.png\",\"width\":218,\"height\":34,\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#\\\/schema\\\/person\\\/bb545ebe83bb2d12f91095811d0a72e1\",\"name\":\"Nic Raboy, Developer Advocate, Couchbase\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bedeb68368d4681aca4c74fe5f697f0c423b80d498ec50fd915ba018b72c101f?s=96&d=mm&r=g8863514d8bed0cf6080f23db40e00354\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bedeb68368d4681aca4c74fe5f697f0c423b80d498ec50fd915ba018b72c101f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bedeb68368d4681aca4c74fe5f697f0c423b80d498ec50fd915ba018b72c101f?s=96&d=mm&r=g\",\"caption\":\"Nic Raboy, Developer Advocate, Couchbase\"},\"description\":\"Nic Raboy is an advocate of modern web and mobile development technologies. He has experience in Java, JavaScript, Golang and a variety of frameworks such as Angular, NativeScript, and Apache Cordova. Nic writes about his development experiences related to making web and mobile development easier to understand.\",\"sameAs\":[\"https:\\\/\\\/www.thepolyglotdeveloper.com\",\"https:\\\/\\\/www.facebook.com\\\/thepolyglotdeveloper\",\"https:\\\/\\\/x.com\\\/nraboy\"],\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/author\\\/nic-raboy-2\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"The Simplicity of RxJava with N1QL Queries and Couchbase - The Couchbase Blog","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:\/\/www.couchbase.com\/blog\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\/","og_locale":"en_US","og_type":"article","og_title":"The Simplicity of RxJava with N1QL Queries and Couchbase","og_description":"The Simplicity of RxJava with N1QL Queries and Couchbase Have you ever tried to query Couchbase using N1QL and the Java SDK&apos;s synchronous API? It works well and isn&apos;t particularly difficult, but I find it to be a little messy, [&hellip;]","og_url":"https:\/\/www.couchbase.com\/blog\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\/","og_site_name":"The Couchbase Blog","article_author":"https:\/\/www.facebook.com\/thepolyglotdeveloper","article_published_time":"2016-08-25T15:00:00+00:00","article_modified_time":"2025-06-14T01:24:15+00:00","author":"Nic Raboy, Developer Advocate, Couchbase","twitter_card":"summary_large_image","twitter_creator":"@nraboy","twitter_misc":{"Written by":"Nic Raboy, Developer Advocate, Couchbase","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\/"},"author":{"name":"Nic Raboy, Developer Advocate, Couchbase","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/bb545ebe83bb2d12f91095811d0a72e1"},"headline":"The Simplicity of RxJava with N1QL Queries and Couchbase","datePublished":"2016-08-25T15:00:00+00:00","dateModified":"2025-06-14T01:24:15+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\/"},"wordCount":435,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","articleSection":["Couchbase Server","Java","SQL++ \/ N1QL Query"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\/","url":"https:\/\/www.couchbase.com\/blog\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\/","name":"The Simplicity of RxJava with N1QL Queries and Couchbase - The Couchbase Blog","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","datePublished":"2016-08-25T15:00:00+00:00","dateModified":"2025-06-14T01:24:15+00:00","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","width":1800,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/the-simplicity-of-rxjava-with-n1ql-queries-and-couchbase\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"The Simplicity of RxJava with N1QL Queries and Couchbase"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"The Couchbase Blog","description":"Couchbase, the NoSQL Database","publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"The Couchbase Blog","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","width":218,"height":34,"caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/bb545ebe83bb2d12f91095811d0a72e1","name":"Nic Raboy, Developer Advocate, Couchbase","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/bedeb68368d4681aca4c74fe5f697f0c423b80d498ec50fd915ba018b72c101f?s=96&d=mm&r=g8863514d8bed0cf6080f23db40e00354","url":"https:\/\/secure.gravatar.com\/avatar\/bedeb68368d4681aca4c74fe5f697f0c423b80d498ec50fd915ba018b72c101f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/bedeb68368d4681aca4c74fe5f697f0c423b80d498ec50fd915ba018b72c101f?s=96&d=mm&r=g","caption":"Nic Raboy, Developer Advocate, Couchbase"},"description":"Nic Raboy is an advocate of modern web and mobile development technologies. He has experience in Java, JavaScript, Golang and a variety of frameworks such as Angular, NativeScript, and Apache Cordova. Nic writes about his development experiences related to making web and mobile development easier to understand.","sameAs":["https:\/\/www.thepolyglotdeveloper.com","https:\/\/www.facebook.com\/thepolyglotdeveloper","https:\/\/x.com\/nraboy"],"url":"https:\/\/www.couchbase.com\/blog\/author\/nic-raboy-2\/"}]}},"acf":[],"authors":[{"term_id":9032,"user_id":63,"is_guest":0,"slug":"nic-raboy-2","display_name":"Nic Raboy, Developer Advocate, Couchbase","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/bedeb68368d4681aca4c74fe5f697f0c423b80d498ec50fd915ba018b72c101f?s=96&d=mm&r=g","0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":""}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/2375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/comments?post=2375"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/2375\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media\/13873"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media?parent=2375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/categories?post=2375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/tags?post=2375"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=2375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}