{"class_fqid":"com-snaplogic-pipeline_8","snode_id":"5988c9c877a1f66cb94e2795","instance_id":"5c6e3463-9a20-4945-a766-39adefed2be4","instance_version":4,"link_map":{"link100":{"src_view_id":"output0","dst_view_id":"input0","src_id":"1967871c-ada6-4179-b323-3b002442766f","dst_id":"8be5099a-d7f0-44af-bc7f-4f0ec0da69f3","isGoto":false}},"link_serial":101,"property_map":{"info":{"notes":{"value":null},"label":{"value":"ArrayFilter-RemoveDulipcatesFromArray"},"purpose":{"value":null},"pipeline_doc_uri":{"value":null},"author":{"value":"dmiller@snaplogic.com"}},"input":{},"settings":{"param_table":{"value":[]},"imports":{"value":[]}},"error":{"error_behavior":{"value":"none"}},"output":{"8be5099a-d7f0-44af-bc7f-4f0ec0da69f3_output0":{"view_type":{"value":"document"},"label":{"value":"Mapper - output0"}}}},"render_map":{"pan_x_num":0,"default_snaplex":"52e99449640a9a03d8682304","scale_ratio":1,"detail_map":{"8be5099a-d7f0-44af-bc7f-4f0ec0da69f3":{"grid_x_int":2,"rot_int":0,"grid_y_int":4,"rot_tail_int":0},"1967871c-ada6-4179-b323-3b002442766f":{"grid_x_int":1,"rot_int":0,"grid_y_int":4,"rot_tail_int":0}},"pan_y_num":0},"snap_map":{"8be5099a-d7f0-44af-bc7f-4f0ec0da69f3":{"class_fqid":"com-snaplogic-snaps-transform-datatransform_4-snapsmrc405","class_id":"com-snaplogic-snaps-transform-datatransform","class_version":4,"instance_fqid":"8be5099a-d7f0-44af-bc7f-4f0ec0da69f3_2","instance_id":"8be5099a-d7f0-44af-bc7f-4f0ec0da69f3","instance_version":2,"property_map":{"info":{"notes":{"value":null},"label":{"value":"Mapper"}},"view_serial":100,"input":{"input0":{"label":{"value":"input0"},"view_type":{"value":"document"}}},"settings":{"nullSafeAccess":{"value":false},"passThrough":{"value":false},"transformations":{"value":{"mappingTable":{"value":[{"targetPath":{"value":"$newArr"},"expression":{"expression":true,"value":"$myarray.filter((item, pos, a) => a.indexOf(item) == pos)"}}]},"mappingRoot":{"value":"$"}}}},"error":{"error0":{"label":{"value":"error0"},"view_type":{"value":"document"}},"error_behavior":{"value":"fail"}},"output":{"output0":{"label":{"value":"output0"},"view_type":{"value":"document"}}}},"class_build_tag":"snapsmrc405"},"1967871c-ada6-4179-b323-3b002442766f":{"class_fqid":"com-snaplogic-snaps-transform-jsongenerator_2-snapsmrc405","class_id":"com-snaplogic-snaps-transform-jsongenerator","class_version":2,"instance_fqid":"1967871c-ada6-4179-b323-3b002442766f_2","instance_id":"1967871c-ada6-4179-b323-3b002442766f","instance_version":2,"property_map":{"info":{"notes":{"value":null},"label":{"value":"JSON Generator"}},"view_serial":100,"error":{"error0":{"label":{"value":"error0"},"view_type":{"value":"document"}},"error_behavior":{"value":"fail"}},"output":{"output0":{"label":{"value":"output0"},"view_type":{"value":"document"}}},"settings":{"editable_content":{"value":"## Enter your JSON-encoded data in this space. Note that this text is\n## treated as an Apache Velocity template, so you can substitute values\n## from input documents or the pipeline parameters. See the following\n## URL for more information about Velocity:\n## https://velocity.apache.org/engine/devel/user-guide.html\n\n[\n {\n \"myarray\" : [\"Fred\", \"Wilma\", \"Fred\", \"Betty\", \"Fred\", \"Barney\"]\n }\n]\n\n\n## Tips:\n## * The sample data above will generate a single empty document, uncomment\n## the line in the middle to include the sample fields. Adding more\n## objects to the root array will cause the snap to generate more\n## than one document.\n## * Pipeline parameters can be referenced by prefixing the parameter\n## name with an underscore, like so:\n## ${_pipelineParamName}\n## * If you add an input view to the snap, this template will be\n## evaluated for each input document.\n## * Fields in the input documents can be referenced by prefixing them\n## with a dollar-sign ($), like so:\n## $parent.child[0].value\n## * Any referenced document values and pipeline parameters will\n## automatically be JSON-encoded when they are inserted into the final\n## JSON document. You should not have to worry about escaping values\n## yourself.\n## * If you are having troubles getting a template to produce valid JSON,\n## you can add an error view to the snap to get a document that\n## contains the output of the template evaluation."},"arrayElementsAsDocuments":{"value":true}}},"class_build_tag":"snapsmrc405"}},"path_id":"/snaplogic/Doc Patterns/Expression Language Examples","path_snode":"598369903a1f1612088cab57"}