Open
Description
This object is really nice but it lacks in some areas. so I made a list of some additions that should be looked at.
- Some Global functionality. (Like INI++v1.5 Global Data/Key) where if there is copies of the object on multiple frames with a key, it would all be the same.
- Load a JSON from a path. so far the a work around is to make a edit box and load it from string. Its annoying to do this extra step but its ok. I rather like to see it built in.
- Shorter way to Get or Set JSON data. I thought of something like this:
For Expressions:
getFloat("JSON Object", "Player[HP]")
getInt("JSON Object", "Player[Level]")
getString("JSON Object", "Player[Other][0]")
getBool("JSON Object", "Player[canBuff]")
// Returns 0 for False, 1 for True
For Actions :
Set Float > "Player[HP]" > 25.0
Set Int > "Player[Level]" > 5
Set String > "Player[Other][0]" > "NewSomething"
Set bool > "Player[canBuff]" > 1
// Turns into true if 1, false if 0
example json:
{
"Player": {
"HP": 100.0,
"Level": 4,
"Other": ["Something1", "Something2"],
"canBuff": true
}
}
Metadata
Metadata
Assignees
Labels
No labels