yfpy.utils
YFPY module for managing complex JSON data structures.
- logger
Module level logger for usage and debugging.
- Type:
Logger
Functions
Custom handler to allow custom YFPY objects to be serialized into JSON. |
|
Convert JSON strings with integer or float numeric representations to their respective integer or float values. |
|
Function to convert a JSON dictionary to a list. |
|
Recursive function to flatten JSON lists containing all disparate JSON dictionaries with no overlapping keys. |
|
Function to flatten JSON dictionaries with unnecessary keys to a list of objects. |
|
Function to flatten a JSON dictionary (or a JSON dictionary in a list) to a dictionary of cast objects. |
|
Cast JSON object to custom subclass type extracted from parent class. |
|
Function to serialize a YahooFantasyObject to a JSON string. |
|
Function to serialize a YahooFantasyObject to JSON and output it to a file. |
|
Function to return pretty formatted JSON strings for easily readable output from objects. |
|
Function to clean and reformat JSON lists to eliminate empty values and unnecessarily nested lists. |
|
Function to reorganize a JSON dictionary of dictionaries. |
|
Recursive function to parse, clean, and assign custom data types to retrieved Yahoo Fantasy Sports data. |