Tool fails if top level array contains mixed null and not null values
Tool fails if array contains mixed null and not null values. Only in top level array.
Example:
echo "[null, 5]" | json2yaml -c -v
System.NullReferenceException: Object reference not set to an instance of an object. at Json2Yaml.JsonParser.IterateThroughArray(Object[] items, Int32 level) in /builds/joostas/json-2-yaml/src/Json2Yaml/JsonParser.cs:line 98 at Json2Yaml.JsonParser.ParseMixedArray(String json) in /builds/joostas/json-2-yaml/src/Json2Yaml/JsonParser.cs:line 88 at Json2Yaml.JsonParser.ParseArray(String json, ExpandoObjectConverter expandoConverter) in /builds/joostas/json-2-yaml/src/Json2Yaml/JsonParser.cs:line 81 at Json2Yaml.JsonParser.ParseJson(String json) in /builds/joostas/json-2-yaml/src/Json2Yaml/JsonParser.cs:line 30 at Json2Yaml.Json2YamlConverter.Convert(String jsonInput) in /builds/joostas/json-2-yaml/src/Json2Yaml/Json2YamlConverter.cs:line 41 at Json2Yaml.Cli.Json2YamlCli.ExecuteAsync(CancellationToken cancellationToken) in /builds/joostas/json-2-yaml/src/Json2Yaml/Cli/Json2YamlCli.cs:line 142 at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken) at Json2Yaml.Program.StartAsync(String[] args, IModule module, CancellationToken cancelationToken) in /builds/joostas/json-2-yaml/src/Json2Yaml/Program.cs:line 53