# How to get the json format information of all nodes

**URL:** <https://discourse.nodered.org/t/how-to-get-the-json-format-information-of-all-nodes/46486>\
**Category:** General\
**Created:** [31 May 2021 04:23 UTC](https://discourse.nodered.org/t/how-to-get-the-json-format-information-of-all-nodes/46486 "2021-05-31T04:23:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lei1](https://avatars.discourse-cdn.com/v4/letter/l/8e7dd6/32.png) [@lei1](https://discourse.nodered.org/u/lei1)\
**Post date:** [31 May 2021 04:23 UTC](https://discourse.nodered.org/t/how-to-get-the-json-format-information-of-all-nodes/46486/1 "2021-05-31T04:23:54Z")

</div>

Hi,  
How to automatically collect all node information and print it to the console, (define a function node to do this instead of manually clicking the export button in the upper right corner)

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [31 May 2021 09:00 UTC](https://discourse.nodered.org/t/how-to-get-the-json-format-information-of-all-nodes/46486/2 "2021-05-31T09:00:17Z")

</div>

[Asked](https://discourse.nodered.org/t/how-to-call-the-interface-of-the-export-function-in-nodered/46341) and [answered](https://discourse.nodered.org/t/how-to-call-the-interface-of-the-export-function-in-nodered/46341/4).

Please don't double post. Nick has asked you for more details in the original thread. Please continue there.
