Hi there! I wanted to report an issue with the write function in the JSON3 library. When I tried to use it to translate a vector into a valid JSON string, I found that using an empty array as [] works correctly, but [[]] does not. Could the team please look into this issue and consider fixing it? It's a simple use case that is currently not functioning as expected. Thank you!
1. Example for empty vector:OK
using JSON3
julia> JSON3.write([])
"[]"
2. Example for an empty vector instead of another vector:Error
Hi there! I wanted to report an issue with the write function in the JSON3 library. When I tried to use it to translate a vector into a valid JSON string, I found that using an empty array as [] works correctly, but [[]] does not. Could the team please look into this issue and consider fixing it? It's a simple use case that is currently not functioning as expected. Thank you!
1. Example for empty vector:
OK
2. Example for an empty vector instead of another vector:
Error