Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JSON Encoder: Don't panic if EncodeLevel unset (#1058)
The JSON Encoder currently panics during EncodeEntry if the EncodeLevel option is unset. Fix this by adding a nil check for it. This mirrors the behavior of the Console Encoder.
- Loading branch information