You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue #190 - avoid writing newline before first object/array
1. Added a protected inNone() method to JsonGeneratorImpl so that
subclasses can determine when we are in the outermost scope. I'm not
attached to the name.
2. Added a check to the if statement in
JsonPrettyGeneratorImpl.writeComma() to avoid writing the newline and
indentation when we're in the root context.
Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
0 commit comments