Can Kotlin deserialize multiple JSON formats to a single class?
I have a Kotlin class representing some control data:
Why Json fields add in non-right order?
I want to create a parser that converts data from an Excel file (xlsx) to a JSON format. Initially, I wrote a JSON builder to add the data in the correct order, and everything worked well until I started adding more complex collections instead of just strings. The collections are in the right order before I input them into the JSON, but when I do, the order becomes incorrect. How can I fix this issue?