JSON subset parser
Your task
Write a recursive-descent parser for a tiny JSON subset and return the parsed Python value. Grammar: a value is an integer (optional leading minus, no decimals), a double-quoted string with no escapes, the literals true/false/null, or an array '[' value (',' value)* ']' (arrays may be empty). There is no whitespace anywhere in the input. Map true/false to Python booleans and null to the string "null". The input is guaranteed well-formed.
Examples
parse_json_subset(s: str) -> objectExample 1
Input
parse_json_subset("[1,\"hi\",true]")Output
[1, "hi", True]