Skip to content

Commit

Permalink
write_json() defaults to export_f='export_list_dicts()'
Browse files Browse the repository at this point in the history
  • Loading branch information
mezantrop committed Jun 15, 2024
1 parent 263bd0a commit 84ffb7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# CHANGELOG

* **2024.06.07 Current**
* **2024.06.15 Current**
* `write_json()` defaults to `export_f='export_list_dicts()'`
* `read_json()` implemented as a standalone function
* `read_csv()` became standalone
* `Table` auto-import on init of `dict(lists)` fixed
* `Table` auto-import on init of `dict(lists)` fixed
* `README.md` updated

* **2024.06.06 Current**
* `write_json_lt()` added
* `README.md` updated

Expand Down
4 changes: 2 additions & 2 deletions tsqlike/tsqlike.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,8 @@ def write_csv(self, out_file=None, encoding=None,
close_file(f)

# -------------------------------------------------------------------------------------------- #
def write_json(self, out_file=None, export_f='', indent=None, separators=None, sort_keys=False,
evalctrl=EvalCtrl()):
def write_json(self, out_file=None, export_f='export_list_dicts()',
indent=None, separators=None, sort_keys=False, evalctrl=EvalCtrl()):
"""
Make JSON from the Table object and write it to a file or stdout
Expand Down

0 comments on commit 84ffb7f

Please sign in to comment.