BurpExtenderUtilities icon indicating copy to clipboard operation
BurpExtenderUtilities copied to clipboard

serialization changes the order

Open irsdl opened this issue 2 years ago • 0 comments

Currently gson serialization change the order. For example, I have a LinkedHashSet item which requires saving using its history (when it has entered the list). However, when the setting is saved, it serialized it in a random order.

It would be good find a generic way of doing this if data needs to keep their order (e.g. by using LinkedHashSet) - you may need to define a custom serializer for it but I have no idea how this can be implemented at the moment.

irsdl avatar Mar 14 '22 23:03 irsdl