Closed samuelcolvin closed 2 months ago
Add:
json_get(json: str, *keys: str | int) -> JsonUnion
json_get_str(json: str, *keys: str | int) -> str
json_get_int(json: str, *keys: str | int) -> int
json_get_float(json: str, *keys: str | int) -> float
json_get_bool(json: str, *keys: str | int) -> bool
json_get_json(json: str, *keys: str | int) -> str
Add:
json_get(json: str, *keys: str | int) -> JsonUnion
- Get a value from a JSON object by it's "path"json_get_str(json: str, *keys: str | int) -> str
- Get a string value from a JSON object by it's "path"json_get_int(json: str, *keys: str | int) -> int
- Get an integer value from a JSON object by it's "path"json_get_float(json: str, *keys: str | int) -> float
- Get a float value from a JSON object by it's "path"json_get_bool(json: str, *keys: str | int) -> bool
- Get a boolean value from a JSON object by it's "path"json_get_json(json: str, *keys: str | int) -> str
- Get any value from a JSON object by it's "path", represented as a string