Amity
Data Lab — Manual JSON Parser
“No libraries, no problem—just teeth and tokens.” — Harbor IT
Challenge:
Parse a simple JSON string manually and extract the shark name.
Archives • String Ops
Task:
Implement
parse_json_string(json_string)
.
Input JSON contains keys
{"id","name"}
(e.g.,
{"id":1,"name":"Jaws"}
).
Return just the value of
"name"
without using JSON libraries.
Click
Run Unit Tests
. If all tests pass, you'll get the flag.
def parse_json_string(json_string): # Your code here return "" # Test runner do not edit below run_selected_test()
Run Unit Tests
Output or flag will appear here...