- Issue created by @Chi
- πΊπΈUnited States damienmckenna NH, USA
You are completely correct, these need to be supported. Let's add test coverage too.
The following values can be encoded to a valid JSON.
null
""
[]
{}
The pretty formatter must cover all these cases because it might be important for a used to distinguish different kinds of empty values.
Currently for empty arrays and object it generates empty UL list.
Active
1.0
Code
You are completely correct, these need to be supported. Let's add test coverage too.