{"id":1666,"date":"2022-06-08T10:45:44","date_gmt":"2022-06-08T10:45:44","guid":{"rendered":"https:\/\/logicbuilder.integroscrm.com\/help\/?page_id=1666"},"modified":"2022-07-28T12:52:59","modified_gmt":"2022-07-28T12:52:59","slug":"get-array-from-json","status":"publish","type":"page","link":"https:\/\/logicbuilder.integroscrm.com\/help\/get-array-from-json\/","title":{"rendered":"Get Array from Json"},"content":{"rendered":"\n<p><a name=\"abstract\"><\/a>Transforms JSON to Array.<\/p>\n\n\n\n<p>Allows using operators from&nbsp;<span style=\"color:#ec8f45\">Array<\/span>&nbsp;group (<a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/get-array-elements-by-path\/\">Get Array Elements By Path<\/a>, <a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/set-array-element\/\">Set Array Element<\/a>&nbsp;etc). The most common use cases are to process results returned from APIs or to form request body to API.<\/p>\n\n\n\n<p><strong>inputs:<\/strong><\/p>\n\n\n\n<p>input JSON directly in the operator or connect link from a port where JSON is (e.g. response from&nbsp;<a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/rest-client\/\">Rest Client<\/a>)<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: yes<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"608\" height=\"294\" src=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/get-array-from-json-1.png\" alt=\"\" class=\"wp-image-326\" srcset=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/get-array-from-json-1.png 608w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/get-array-from-json-1-300x145.png 300w\" sizes=\"auto, (max-width: 608px) 100vw, 608px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"311\" height=\"237\" src=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/get-array-from-json-2.png\" alt=\"\" class=\"wp-image-327\" srcset=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/get-array-from-json-2.png 311w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/get-array-from-json-2-300x229.png 300w\" sizes=\"auto, (max-width: 311px) 100vw, 311px\" \/><\/figure>\n\n\n\n<p><strong>outputs:<\/strong><br><span style=\"color:#6888c9;\">Array<\/span>&nbsp;formed from JSON<\/p>\n<div style=\"text-align:left\" class=\"yasr-auto-insert-visitor\"><!--Yasr Visitor Votes Shortcode--><div id='yasr_visitor_votes_1666' class='yasr-visitor-votes'><div class=\"yasr-custom-text-vv-before yasr-custom-text-vv-before-1666\">Click to rate this post!<\/div><div id='yasr-vv-second-row-container-e80d806a9495b' \n                                        class='yasr-vv-second-row-container'><div id='yasr-visitor-votes-rater-e80d806a9495b'\n                                      class='yasr-rater-stars-vv'\n                                      data-rater-postid='1666' \n                                      data-rating='0'\n                                      data-rater-starsize='24'\n                                      data-rater-readonly='false'\n                                      data-rater-nonce='fa81b01ba5' \n                                      data-issingular='false'\n                                    ><\/div><div class=\"yasr-vv-stats-text-container\" id=\"yasr-vv-stats-text-container-e80d806a9495b\"><svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" \n                               class=\"yasr-dashicons-visitor-stats\"\n                               data-postid=\"1666\" \n                               id=\"yasr-stats-dashicon-e80d806a9495b\">\n                            <path d=\"M18 18v-16h-4v16h4zM12 18v-11h-4v11h4zM6 18v-8h-4v8h4z\"><\/path>\n                          <\/svg><span id=\"yasr-vv-text-container-e80d806a9495b\" class=\"yasr-vv-text-container\">[Total: <span id=\"yasr-vv-votes-number-container-e80d806a9495b\">0<\/span>  Average: <span id=\"yasr-vv-average-container-e80d806a9495b\">0<\/span>]<\/span><\/div><div id='yasr-vv-loader-e80d806a9495b' class='yasr-vv-container-loader'><\/div><\/div><div id='yasr-vv-bottom-container-e80d806a9495b' class='yasr-vv-bottom-container'><\/div><\/div><!--End Yasr Visitor Votes Shortcode--><\/div>","protected":false},"excerpt":{"rendered":"<p>Transforms JSON to Array. Allows using operators from&nbsp;Array&nbsp;group (Get Array Elements By Path, Set Array Element&nbsp;etc). The most common use cases are to process results returned from APIs or to form request body to API. inputs: input JSON directly in the operator or connect link from a port where JSON is (e.g. response from&nbsp;Rest Client) &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/logicbuilder.integroscrm.com\/help\/get-array-from-json\/\"> <span class=\"screen-reader-text\">Get Array from Json<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","footnotes":""},"tags":[],"class_list":["post-1666","page","type-page","status-publish","hentry"],"yasr_visitor_votes":{"number_of_votes":0,"sum_votes":0,"stars_attributes":{"read_only":false,"span_bottom":false}},"_links":{"self":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/1666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/comments?post=1666"}],"version-history":[{"count":6,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/1666\/revisions"}],"predecessor-version":[{"id":1992,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/1666\/revisions\/1992"}],"wp:attachment":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/media?parent=1666"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/tags?post=1666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}