How to parse incomplete/partial JSON in Go?
Is there a way to parse partial/incomplete JSON strings into map/interface values? For example: {"name": "foo becomes map[string]any{"name": "foo"} The need for this arises when using OpenAI's chat completion API with the stream option (link) and if you want to…