# Anyone using NodeRed as JSON API transformation tool?

**URL:** <https://discourse.nodered.org/t/anyone-using-nodered-as-json-api-transformation-tool/9821>\
**Category:** General\
**Created:** [5 April 2019 22:13 UTC](https://discourse.nodered.org/t/anyone-using-nodered-as-json-api-transformation-tool/9821 "2019-04-05T22:13:10Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![tony-shannon](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tony-shannon/32/7378_2.png) [@tony-shannon](https://discourse.nodered.org/u/tony-shannon)\
**Post date:** [5 April 2019 22:13 UTC](https://discourse.nodered.org/t/anyone-using-nodered-as-json-api-transformation-tool/9821/1 "2019-04-05T22:13:10Z")

</div>

Hi

Kudos to the NodeRED team for their innovative thinking, this appears to be tech with great potential.

Question please re anyone using NodeRED for JSON API transformation, eg with JSONata?  
See related issue here; [https://github.com/jsonata-js/jsonata/issues/325](https://github.com/jsonata-js/jsonata/issues/325)

FYI we are using NodeJS based technology in the healthcare domain and using a JSON mapping tool for the purposes of transforming between JSON API endpoints, see here  
https://www.youtube.com/embed/iaGGGgJdWvM?feature=oembed&wmode=opaque&list=PLNxHSK29ViKLrrhdPTqbYr6XGTya4uGBv

Wondering if others are using NodeRED for a similar purpose?  
Would be most interested to connect if you are

Thanks  
Tony

Dr. Tony Shannon  
Director, Ripple Foundation [Ripple Foundation](https://ripple.foundation)

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [6 April 2019 14:42 UTC](https://discourse.nodered.org/t/anyone-using-nodered-as-json-api-transformation-tool/9821/2 "2019-04-06T14:42:13Z")

</div>

Hi,

Node-RED is used for many purpose :-).... it's a bit like digital gaffer tape. And yes certainly we do use it lot for interfacing with and adapting API of all sorts. The change node in particular does have JSONata built in specifically to help these sort of transformations of json payloads. The change node includes a nice tester that help you try the transforms with real data while you design your expression.

Indeed one of community members has created a load of recipes [https://github.com/node-red/cookbook.nodered.org/wiki/JSONata-Recipes](https://github.com/node-red/cookbook.nodered.org/wiki/JSONata-Recipes) and there are other in the [flows.nodered.org](http://flows.nodered.org) site

---

<div class="post-metadata">

**Author:** ![drmibell](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/drmibell/32/8424_2.png) [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Post date:** [6 April 2019 15:41 UTC](https://discourse.nodered.org/t/anyone-using-nodered-as-json-api-transformation-tool/9821/3 "2019-04-06T15:41:53Z")

</div>

> [@dceejay](#):
>
> one of community members has created a load of recipes

I can see why these recipes don't fit nicely into the "official" NR Cookbook, but it might be helpful to have a link to them at the bottom of the cookbook toc page. There are a few tasty ones that I wish I had known about sooner.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [6 April 2019 16:21 UTC](https://discourse.nodered.org/t/anyone-using-nodered-as-json-api-transformation-tool/9821/4 "2019-04-06T16:21:56Z")

</div>

I had forgotten they existed, so no effort has been made to turn them into proper cookbook recipies. We certainly do want a good jsonata section in the cookbook - just needs someone to put the work in to make it happen.

---

<div class="post-metadata">

**Author:** ![tony-shannon](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tony-shannon/32/7378_2.png) [@tony-shannon](https://discourse.nodered.org/u/tony-shannon)\
**Post date:** [8 April 2019 11:43 UTC](https://discourse.nodered.org/t/anyone-using-nodered-as-json-api-transformation-tool/9821/5 "2019-04-08T11:43:46Z")

</div>

Most helpful, thank you @dceejay

This tech strikes me as having lots of integration engine capabilities and at scale too.  
Can I ask about the level of scale its proven in production at this point?

I note this old post which strikes me as likely to be outdated already..  
[https://www.quora.com/Why-Node-RED-Server-Side-isnt-suitable-for-production-use](https://www.quora.com/Why-Node-RED-Server-Side-isnt-suitable-for-production-use)

Thanks again  
Tony

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [8 April 2019 21:45 UTC](https://discourse.nodered.org/t/anyone-using-nodered-as-json-api-transformation-tool/9821/6 "2019-04-08T21:45:45Z")

</div>

> [@knolleary](#):
>
> I had forgotten they existed, so no effort has been made to turn them into proper cookbook recipies. We certainly do want a good jsonata section in the cookbook - just needs someone to put the work in to make it happen.

My fault, I think that I'd intended to do that last year but I'm afraid that other priorities got in the way.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [8 April 2019 21:50 UTC](https://discourse.nodered.org/t/anyone-using-nodered-as-json-api-transformation-tool/9821/7 "2019-04-08T21:50:28Z")

</div>

> [@tony-shannon](#):
>
> This tech strikes me as having lots of integration engine capabilities and at scale too.  
> Can I ask about the level of scale its proven in production at this point?

As an IT (and security) professional currently working in the NHS, I feel bound to point out that Node-RED hasn't had (as far as I'm aware) any formal security review. So its use in healthcare, especially with patient data should be treated with caution.

That isn't to say that I wouldn't be very happy to see it used - I'm already a supporter of open data and open source in healthcare. It is just that I am all too aware that enthusiasm for new approaches can often lead to a lack of attention paid to security - this is a constant source of pain in my day-job.

Happy to discuss in PM or directly if you like.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [8 April 2019 21:53 UTC](https://discourse.nodered.org/t/anyone-using-nodered-as-json-api-transformation-tool/9821/8 "2019-04-08T21:53:34Z")

</div>

I perhaps should also have said that I have some updated examples on my blog:

> **[Using JSONata to transform msg data](https://it.knightnet.org.uk/kb/nr-qa/jsonata/)**
>
> JSONata is a syntax designed by IBM to help reformat and restructure JSON data in a similar vein to the way that XLST is used to transform XML data.

More than happy for those to be adopted if they are of any use.

---

<div class="post-metadata">

**Author:** ![tony-shannon](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tony-shannon/32/7378_2.png) [@tony-shannon](https://discourse.nodered.org/u/tony-shannon)\
**Post date:** [8 April 2019 22:12 UTC](https://discourse.nodered.org/t/anyone-using-nodered-as-json-api-transformation-tool/9821/9 "2019-04-08T22:12:45Z")

</div>

thanks for the helpful updates in your blog Julian, we should chat directly

(To address that aside issue, for other readers benefit I can say that as a medical doctor who has worked with the NHS & its IT for many years, I know that FUD has been a barrier to progress for long enough, esp so for open standards and open source, (fyi [https://frectal.com/book/](https://frectal.com/book/))  
So wouldn't want any more FUD to get in the way of progress/ put people off exploring the potential of innovative & collaborative tools such as NodeRed.  
I take your security point of course, but have seen IG/legal/security concerns get in the way of healthcare improvement and we need to/do work through those issues... proactively..)

Thanks again for the help and the tips  
Will ping you directly  
Tony

[https://ripple.foundation](https://ripple.foundation)
