#1782 util.json fails to parse empty array with whitespace
What steps will reproduce the problem?
1. json.decode("[ ]")
What is the expected output?
An empty array should be returned.
What do you see instead?
Parsing fails with the error "value expected".
What version of the product are you using? On what operating system?
Please provide any additional information below.
The parser fails to skip whitespace in the case that no value was found. Instead it simply checks to see if the next character was ']' (end of array).