Skip to content

Commit

Permalink
added json_to_file method alias and fixed spelling with json_file_sav…
Browse files Browse the repository at this point in the history
…e (was json_file_safe)
  • Loading branch information
DinisCruz committed Jan 24, 2025
1 parent ed14306 commit 8a26d7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion osbot_utils/utils/Json.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def json_save_tmp_file(python_object, pretty=True):
json_file_contents = Json.load_file
json_file_contents_gz = Json.load_file_gz
json_file_load = Json.load_file
json_file_safe = Json.save_file
json_file_save = Json.save_file
json_from_file = Json.load_file
json_load_file = Json.load_file
json_load_file_and_delete = Json.load_file_and_delete
Expand All @@ -184,6 +184,7 @@ def json_save_tmp_file(python_object, pretty=True):
json_parse = Json.loads
json_lines_parse = Json.loads_json_lines
json_to_bytes = json_dumps_to_bytes
json_to_file = json_file_save
json_to_str = json_dumps
json_round_trip = Json.round_trip
json_save = Json.save_file
Expand Down

0 comments on commit 8a26d7f

Please sign in to comment.