Pretty formatter does not properly format empty JSON

Created on 17 February 2025, about 2 months ago

The following values can be encoded to a valid JSON.

  1. Null - null
  2. Empty string - ""
  3. Empty array - []
  4. Empty object - {}

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.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇷🇺Russia Chi

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024