Skip to content

Commit

Permalink
fix: no more deserialize
Browse files Browse the repository at this point in the history
  • Loading branch information
sinkaroid committed Dec 6, 2022
1 parent 229939f commit 1a50d06
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions booru/utils/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,22 +126,6 @@ def better_object(parser: dict):
"""
return json.dumps(parser, sort_keys=True, indent=4, ensure_ascii=False)

def deserialize(data: list):
"""Deserialize instance containing a JSON document
Parameters
----------
data : list
The raw data after fetch request
Returns
-------
str
The deserialized with better object
"""
return json.loads(better_object(data))


def parse_image(raw_object: dict):
"""Extracts the image url from the json object.
Expand Down

0 comments on commit 1a50d06

Please sign in to comment.