# Structured text / SCL for use instead of Json or Javascript

**URL:** https://discourse.nodered.org/t/structured-text-scl-for-use-instead-of-json-or-javascript/45970
**Category:** General
**Created:** [20 May 2021 10:19 UTC](https://discourse.nodered.org/t/structured-text-scl-for-use-instead-of-json-or-javascript/45970 "2021-05-20T10:19:57Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Marcus\_andersen](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@Marcus\_andersen](https://discourse.nodered.org/u/Marcus_andersen)
#### Post date: [20 May 2021 10:19 UTC](https://discourse.nodered.org/t/structured-text-scl-for-use-instead-of-json-or-javascript/45970/1 "2021-05-20T10:19:57Z")

</div>

Hey All

I was thinking about it is possible there are a converting node or something. So i can use Structured text/ SCL known from PLC's. So i can continue use that language instead of learn javascript or Json.

Anyone else there are working as plc engineer  
and have that issued?

Marcus

---

<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: [20 May 2021 10:34 UTC](https://discourse.nodered.org/t/structured-text-scl-for-use-instead-of-json-or-javascript/45970/2 "2021-05-20T10:34:31Z")

</div>

Unfortunately, there is no such parser/transpiler for ST --\> JS.

You could make one but ironically you'd have to learn JavaScript 🙂

Truth is Marcus, **JavaScript** is far richer and far more capable than **ST** and _ **not that difficult to get to grips with** _.

Note also, you can do A LOT without touching JavaScript.

To get the most from node-red (without learning JavaScript) this is the approach i would recommend...

- Get to grips with what is a string, JSON, object (this will become apparent in time - but trust me on this one)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/4/e4b0e6c76aec6be5336e9d8ed19e38ce60c97f1d.png)

- Watch this playlist: [Node-RED Essentials](https://www.youtube.com/playlist?list=PLyNBB9VCLmo1hyO-4fIZ08gqFcXBkHy-6). The videos are done by the developers of node-red. They're nice & short and to the point. You will understand a whole lot more in about 1 hour. A small investment for a lot of gain.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [19 July 2021 10:34 UTC](https://discourse.nodered.org/t/structured-text-scl-for-use-instead-of-json-or-javascript/45970/3 "2021-07-19T10:34:47Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
