This patch allows simple (non-object) arrays at the top level of the JSON data. Previously KVOM assumed that any top-level array was populated with JSON objects - i.e. should be parsed as an array of dictionaries.
This allows simple array responses, such as arrays of strings, to be processed correctly.
This patch allows simple (non-object) arrays at the top level of the JSON data. Previously KVOM assumed that any top-level array was populated with JSON objects - i.e. should be parsed as an array of dictionaries.
This allows simple array responses, such as arrays of strings, to be processed correctly.