# Parse a JSON Tag?

**URL:** <https://forum.inductiveautomation.com/t/parse-a-json-tag/109693>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [August 13, 2025, 1:19pm UTC](https://forum.inductiveautomation.com/t/parse-a-json-tag/109693 "2025-08-13T13:19:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielps1818](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@danielps1818](https://forum.inductiveautomation.com/u/danielps1818)\
**Post date:** [August 13, 2025, 1:19pm UTC](https://forum.inductiveautomation.com/t/parse-a-json-tag/109693/1 "2025-08-13T13:19:25Z")

</div>

Is there any way of parsing a json (dict) to check if is correct as a tag configuration? Also, is this possible with the different type of tags or even they are different they are treated as the same?

I'm not sure if I'm explaining myself.

Thx!

---

<div class="post-metadata">

**Author:** ![drewdin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drewdin/32/3363_2.png) [@drewdin](https://forum.inductiveautomation.com/u/drewdin)\
**Post date:** [August 13, 2025, 1:26pm UTC](https://forum.inductiveautomation.com/t/parse-a-json-tag/109693/2 "2025-08-13T13:26:49Z")

</div>

I’m sure you could, do you have standard tag configurations you could check against? What defines “correct”

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 13, 2025, 2:50pm UTC](https://forum.inductiveautomation.com/t/parse-a-json-tag/109693/3 "2025-08-13T14:50:18Z")

</div>

There's no easily accessible function that will check whether a given bundle of tag configuration will work other than creating the tags, no. The tag system is (deliberately) very dynamic under the hood, so what is "valid" configuration is not something that can be determined statically - it's a function of your Ignition version (as we add more valid capabilities to the base platform) but also what modules you have installed.

You could, in theory, have a function that tested against the current installed state - but no one has really asked us for one yet 😃

What's the thing you're ultimately trying to do with this validation?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 13, 2025, 3:36pm UTC](https://forum.inductiveautomation.com/t/parse-a-json-tag/109693/4 "2025-08-13T15:36:39Z")

</div>

The closest you can get right now is to retrieve the tag configuration model from a tag provider (via context's `.tagManager` then `.getTagConfigModelAsync(provider)`). You can interrogate the model with [.getApplicableProperties(propertyset)](https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.47/com/inductiveautomation/ignition/common/config/ConfigurationPropertyModel.html#getApplicableProperties(com.inductiveautomation.ignition.common.config.PropertySet)) for a given configuration (turned into a `PropertySet`). Not particularly simple.

---

<div class="post-metadata">

**Author:** ![danielps1818](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@danielps1818](https://forum.inductiveautomation.com/u/danielps1818)\
**Post date:** [September 1, 2025, 8:01am UTC](https://forum.inductiveautomation.com/t/parse-a-json-tag/109693/5 "2025-09-01T08:01:08Z")

</div>

Hi! I'm back from my vacation.

> [@paul-griffith](#):
>
> What's the thing you're ultimately trying to do with this validation?

We are currently designing a tool so you can import/export tags directly from an excel.  
Very briefly:

Excel with Provider data → _Import to tool_ → **Build JSON** → **Check with current Provider** → _Download Excel (marked with error/differences)_ → Check the Excel yourself with possible problems in the data → _Import second excel to tool_ → **Import/Merge/Delete tags in Provider**

We are currently defining the base Excel and the building the json part. So I was looking to check if each tag (each row of the excel) that I process is _right_.

However I get that the _right_ is not something defined and something a bit dependant on other things.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 1, 2025, 1:53pm UTC](https://forum.inductiveautomation.com/t/parse-a-json-tag/109693/6 "2025-09-01T13:53:37Z")

</div>

You might want to study the techniques in this tool on the Exchange:

> [@Spreadsheet Import Tool](https://forum.inductiveautomation.com/t/spreadsheet-import-tool/93500):
>
> Now [in the Ignition Exchange](https://inductiveautomation.com/exchange/2660/overview). While waiting on IA review, i Interested parties can also get this here: [https://www.automation-pros.com/SpreadsheetImportTool/](https://www.automation-pros.com/SpreadsheetImportTool/) I intend to publish at this link as well as in the Exchange going forward. Announcements will be in this topic. (:
