# Read and write a json file - solved

**URL:** <https://discourse.nodered.org/t/read-and-write-a-json-file-solved/6725>\
**Category:** General\
**Created:** [12 January 2019 18:41 UTC](https://discourse.nodered.org/t/read-and-write-a-json-file-solved/6725 "2019-01-12T18:41:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [12 January 2019 21:00 UTC](https://discourse.nodered.org/t/read-and-write-a-json-file-solved/6725/2 "2019-01-12T21:00:42Z")

</div>

You flow is not importable as you have not used the technique in [1] when pasting it here. However if you want data from multiple paths to be available a good way is to use a join node configured something like this, which will combine payloads from two inputs, identified by topic, into key/value pairs in the payload passed on.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/d/d83823809d19ac1e361963aa63462ab1b27b5d58.png)

[1] [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

_[View the full topic](https://discourse.nodered.org/t/read-and-write-a-json-file-solved/6725)._
