When using deserializeJSON is there any way to make it use ordered structs instead of standard?
Matt Dyer
02/24/2022, 7:36 PM
It looks like Lucee does this already, so never mind.
b
bdw429s
02/24/2022, 7:37 PM
Yep, Lucee has your back
bdw429s
02/24/2022, 7:37 PM
Adobe, not so much 🙂
bdw429s
02/24/2022, 7:37 PM
CommandBox relies on this heavily so that when it
• reads in a JSON file
• modifies the struct in memory
• writes the JSON file back out
it's always in the same order which is nice