# \#change-node

**URL:** https://discourse.nodered.org/tag/change-node/226.md

[Latest](https://discourse.nodered.org/latest.md) · [Categories](https://discourse.nodered.org/categories.md) · [Tags](https://discourse.nodered.org/tags.md)

---

## [How to convert json text into json object inside the msg object](https://discourse.nodered.org/t/how-to-convert-json-text-into-json-object-inside-the-msg-object/100323)

<div class="topic-metadata">

**Author:** [@CoderN](https://discourse.nodered.org/u/CoderN)\
**Replies:** 2\
**Last updated:** [6 February 2026 11:42 UTC](https://discourse.nodered.org/t/how-to-convert-json-text-into-json-object-inside-the-msg-object/100323 "2026-02-06T11:42:26Z")

</div>

I have a flow that synchronize the states of 2 instances of Home Assistants. The output of sqlite query feeds a sensor node on another Home Assistant. An example output of the msg is like: \[ { "state": "1", "s…

---

## [JSONata exception -- JSONata expression help please](https://discourse.nodered.org/t/jsonata-exception-jsonata-expression-help-please/99658)

<div class="topic-metadata">

**Author:** [@dubnemo](https://discourse.nodered.org/u/dubnemo)\
**Replies:** 16\
**Last updated:** [19 November 2025 14:39 UTC](https://discourse.nodered.org/t/jsonata-exception-jsonata-expression-help-please/99658 "2025-11-19T14:39:29Z")

</div>

I am at a loss why this JSONata is failing with the following error:' Expected "}", got ":" I am trying to prepare the JSON payload for a QuickBase API call: This is not how I would have shaped this JSON but it is th…

---

## [Use env or global variables in expression in change node](https://discourse.nodered.org/t/use-env-or-global-variables-in-expression-in-change-node/98856)

<div class="topic-metadata">

**Author:** [@grawsom](https://discourse.nodered.org/u/grawsom)\
**Replies:** 10\
**Last updated:** [28 August 2025 09:41 UTC](https://discourse.nodered.org/t/use-env-or-global-variables-in-expression-in-change-node/98856 "2025-08-28T09:41:23Z")

</div>

Found an old post by @E1cid where DB1 button was configured to change info on every press (toggle). I have changed that to DB2 and is working fine, my question now is. In DB2 you use msg.ui\_update.label to set the n…

---

## [Delete whole msg](https://discourse.nodered.org/t/delete-whole-msg/97237)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 12\
**Last updated:** [25 May 2025 11:08 UTC](https://discourse.nodered.org/t/delete-whole-msg/97237 "2025-05-25T11:08:20Z")

</div>

Hi, I find myself needing to reset a msg completely inline with a flow. While I could use a function node, it seems a bit of an oversight not to be able to do this with a change node. The idea would be to have a drop-d…
