KeyValueObjectMapping icon indicating copy to clipboard operation
KeyValueObjectMapping copied to clipboard

Fixes #98 - handle simple values in JSON array responses

Open mungler opened this issue 3 years ago • 0 comments

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.

mungler avatar Apr 14 '22 10:04 mungler