{"id":868,"date":"2022-01-18T14:14:20","date_gmt":"2022-01-18T14:14:20","guid":{"rendered":"https:\/\/logicbuilder.integroscrm.com\/help\/?page_id=868"},"modified":"2022-08-03T17:34:25","modified_gmt":"2022-08-03T17:34:25","slug":"get-structure-from-json","status":"publish","type":"page","link":"https:\/\/logicbuilder.integroscrm.com\/help\/get-structure-from-json\/","title":{"rendered":"Get Structure From JSON"},"content":{"rendered":"\n<p><a name=\"abstract\"><\/a>Transforms JSON to Structure. Can be used to utilize some operators to work with structures, but keep in mind that there are a bunch of operators to work with JSON in <span style=\"color:#ec8f45;\">Array<\/span> section.<\/p>\n\n\n\n<p><strong>inputs:<\/strong><\/p>\n\n\n\n<p><span style=\"color:#9ed267;\">json<\/span> \u2013 input JSON to transform into the structure. Link it with a response from API Request, from Sugar field, or specify directly in the flowchart.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: yes<\/li><\/ul>\n\n\n\n<p><span style=\"color:#ec8f45;\">schema<\/span> \u2013 link with output from <a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/structure-schema\/\">Structure Schema<\/a>. Each field of <span style=\"color:#ec8f45;\">Structure Schema<\/span> must be the same as a key of the JSON element. If there is no such element by key as stated in Structure Scheme, the field of the structure has an empty value. Also all JSON elements that aren\u2019t specified in <span style=\"color:#ec8f45;\">Structure Schema<\/span> are skipped.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: yes<\/li><\/ul>\n\n\n\n<p><strong>outputs:<\/strong><\/p>\n\n\n\n<p><span style=\"color:#ec8f45;\">structure<\/span> \u2013 structure created from JSON by the provided schema.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-103-76423412d30f4b8497970324c5f58cdb-1024x295.png\" alt=\"\" class=\"wp-image-577\" width=\"937\" height=\"270\" srcset=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-103-76423412d30f4b8497970324c5f58cdb-1024x295.png 1024w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-103-76423412d30f4b8497970324c5f58cdb-300x87.png 300w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-103-76423412d30f4b8497970324c5f58cdb-768x222.png 768w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-103-76423412d30f4b8497970324c5f58cdb.png 1269w\" sizes=\"auto, (max-width: 937px) 100vw, 937px\" \/><\/figure>\n<div style=\"text-align:left\" class=\"yasr-auto-insert-visitor\"><!--Yasr Visitor Votes Shortcode--><div id='yasr_visitor_votes_868' class='yasr-visitor-votes'><div class=\"yasr-custom-text-vv-before yasr-custom-text-vv-before-868\">Click to rate this post!<\/div><div id='yasr-vv-second-row-container-ec7ab09d23a6a' \n                                        class='yasr-vv-second-row-container'><div id='yasr-visitor-votes-rater-ec7ab09d23a6a'\n                                      class='yasr-rater-stars-vv'\n                                      data-rater-postid='868' \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-ec7ab09d23a6a\"><svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" \n                               class=\"yasr-dashicons-visitor-stats\"\n                               data-postid=\"868\" \n                               id=\"yasr-stats-dashicon-ec7ab09d23a6a\">\n                            <path d=\"M18 18v-16h-4v16h4zM12 18v-11h-4v11h4zM6 18v-8h-4v8h4z\"><\/path>\n                          <\/svg><span id=\"yasr-vv-text-container-ec7ab09d23a6a\" class=\"yasr-vv-text-container\">[Total: <span id=\"yasr-vv-votes-number-container-ec7ab09d23a6a\">0<\/span>  Average: <span id=\"yasr-vv-average-container-ec7ab09d23a6a\">0<\/span>]<\/span><\/div><div id='yasr-vv-loader-ec7ab09d23a6a' class='yasr-vv-container-loader'><\/div><\/div><div id='yasr-vv-bottom-container-ec7ab09d23a6a' class='yasr-vv-bottom-container'><\/div><\/div><!--End Yasr Visitor Votes Shortcode--><\/div>","protected":false},"excerpt":{"rendered":"<p>Transforms JSON to Structure. Can be used to utilize some operators to work with structures, but keep in mind that there are a bunch of operators to work with JSON in Array section. inputs: json \u2013 input JSON to transform into the structure. Link it with a response from API Request, from Sugar field, or &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/logicbuilder.integroscrm.com\/help\/get-structure-from-json\/\"> <span class=\"screen-reader-text\">Get Structure 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-868","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\/868","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=868"}],"version-history":[{"count":3,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/868\/revisions"}],"predecessor-version":[{"id":2072,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/868\/revisions\/2072"}],"wp:attachment":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/media?parent=868"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/tags?post=868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}