INIFile class

Thank you again, lots of coffee :face_with_peeking_eye:

1 Like

What do you think of the idea of making the project more accessible to everyone on GitHub? :slight_smile:

BTW: Thank you for sharing this with us. :+1:

1 Like

Host a copy there if you wish.

I’m trying to reduce to 4 cups a day. :rofl: So, there’s some tea too, like chamomile tea right now.

Off. Need to go again.

2 Likes

Thank you.
Can I freely choose the type of license?

1 Like

Preserving the author and the rights to the world use as they wish, for me its ok.

Bye.

1 Like

It’s now also available on GitHub: GitHub - Schneppi/INI_JSON: INI_JSON a Xojo Class for Reading/Writing Ini-Files crossplatform
Thank you @Rick_Araujo :+1:

4 Likes

“INI_JSON a Xojo Class for Reading/Writing Ini-Files crossplatform”

Well, this describes it partially, it is more like:

A crossplatform Xojo dual Class, to read INI or compatible JSON configuration files, handle the contents, and save them back as INI or JSON.

2 Likes

And 1.4 is smarter is such duality.

Constructor loads a INI if extension is .ini or else it tries JSON
LoadJSON now has the ability to load JSON strings from code.
SaveJSON defaults to human readable version (you can choose to compact).
Examples enhanced. Comments enhanced.

The example was made in manual mode, object created without loading, then loading the desired file as you wish without auto-detection of the constructor.

image

4 Likes

Also updated the Repo: GitHub - Schneppi/INI_JSON: INI_JSON a Xojo Class for Reading/Writing Ini-Files crossplatform

5 Likes

Thanks a ton :face_holding_back_tears:

2 Likes