🎓 JSON Objects and Files

by Patrick Corgan

Version 3 (October 22, 2022)

Download (2,318 downloads)

𝘉𝘺 𝘗𝘢𝘵𝘳𝘪𝘤𝘬 𝘊𝘰𝘳𝘨𝘢𝘯
A quick example of reading and writing files using JSON objects. JSON is handy because the data is machine-readable, which gives you a lot of flexibility in handling the data. You can easily display it in any format you want, or you can process it however you want.
This could also be used to share data between flows, or to save data that should be persistent even if the flow is changed (which clears the value of any atomic variables used in the flow). More on sharing data between flows:

⚡𝘊𝘰𝘯𝘴𝘵𝘳𝘶𝘤𝘵𝘪𝘷𝘦 𝘤𝘰𝘮𝘮𝘦𝘯𝘵𝘴 𝘢𝘯𝘥 𝘤𝘳𝘪𝘵𝘪𝘤𝘪𝘴𝘮𝘴 𝘢𝘳𝘦 𝘢𝘭𝘸𝘢𝘺𝘴 𝘸𝘦𝘭𝘤𝘰𝘮𝘦. 𝘛𝘩𝘢𝘯𝘬 𝘺𝘰𝘶!⚡

Version 2: Minor cosmetic changes and a bug fix.

Version 3: Converted to storing the data as an array of dictionaries. This makes the reading/writing process simpler and more intuitive.

5.0 average rating from 15 reviews

5 stars
4 stars
3 stars
2 stars
1 star

Rate and review within the app in the Community section.