Ticket #7072: json_parser_write.hpp.patch

File json_parser_write.hpp.patch, 430 bytes (added by Nana Sakisaka <n.sakisaka@…>, 10 years ago)
  • json_parser_write.hpp

    old new  
    9393                    stream << Ch(',');
    9494                if (pretty) stream << Ch('\n');
    9595            }
    96             stream << Str(4 * indent, Ch(' ')) << Ch(']');
     96            if (pretty) stream << Str(4 * indent, Ch(' '));
     97            stream << Ch(']');
    9798
    9899        }
    99100        else