We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db493fb commit c2fdff5Copy full SHA for c2fdff5
src/jsonlt/_mixin.py
@@ -200,8 +200,7 @@ def values(self) -> "list[JSONObject]":
200
A list of all records, sorted by key.
201
"""
202
self._prepare_read()
203
- state = self._get_state()
204
- return [state[k] for k in self._sorted_keys()]
+ return self._sorted_records()
205
206
def items(self) -> "list[tuple[Key, JSONObject]]":
207
"""Get all key-value pairs in key order.
0 commit comments