json_sorter library
Classes
- JsonSortedEncoder
- This class sorts map keys before converting JSON objects to strings.
Functions
-
jsonSortedEncode(
Object? object, {Object? toEncodable(Object? nonEncodable)?}) → String -
Converts
object
to a JSON string with its keys sorted. -
sortedCopy(
dynamic x) → dynamic - Make a copy of a JSON serializable object with the keys sorted.