# HomeyScript: Any sane ways to use args?

**URL:** <https://community.homey.app/t/homeyscript-any-sane-ways-to-use-args/66178>\
**Category:** Questions & Help\
**Tags:** homeyscript\
**Created:** [July 17, 2022, 10:09pm UTC](https://community.homey.app/t/homeyscript-any-sane-ways-to-use-args/66178 "2022-07-17T22:09:03Z")\
**Posts on this page:** 1\
**Showing post:** 23

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [July 21, 2022, 10:11am UTC](https://community.homey.app/t/homeyscript-any-sane-ways-to-use-args/66178/23 "2022-07-21T10:11:07Z")

</div>

The intended use case is building a JSON to be parsed to for example HomeyScript, without having to place a Card for every single JSON Property, but in a way that is fullproof.

The redundant input fields are optional, no need to be set.  
Just like in [[APP][Pro] Advanced Triggers](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651) or in [H.O.O.P. (Hope) - Homey Object Oriented Programming](https://community.homey.app/t/h-o-o-p-hope-homey-object-oriented-programming/43709).

---

_[View the full topic](https://community.homey.app/t/homeyscript-any-sane-ways-to-use-args/66178)._
