JSON in Node Red

The following examples can be copy pasted into Node Red. Just select the code, copy it and use the Menu / Import form, where you paste the code.
You can also export your code by selecting the Export function in the menu.

JSON parsing minimal: JSON Ex1

example1.json

Example 2

Inject JSON as a String
example2.json

Example 3

Inject JSON as a JSON object
example3.json

Example 4, using a JSON node


example4.json
  

Example 5, inject a more complex node


example5.json
  

Example 6 the change node


example6.json

Example 7 Compute min and max


example7.json