Пример #1
0
        public void Execute(JsonFormatterStrategyContext context)
        {
            if (context.IsProcessingString)
            {
                context.AppendCurrentChar();
                return;
            }

            context.CloseCurrentScope();
            context.BuildContextIndents();
            context.AppendCurrentChar();
        }
        public void Execute(JsonFormatterStrategyContext context)
        {
            if (context.IsProcessingString)
            {
                context.AppendCurrentChar();
                return;
            }

            context.CloseCurrentScope();
            context.BuildContextIndents();
            context.AppendCurrentChar();
        }
 private static void PeformNonStringPrint(JsonFormatterStrategyContext context)
 {
     context.CloseCurrentScope();
     context.BuildContextIndents();
     context.AppendCurrentChar();
 }
Пример #4
0
 private static void PeformNonStringPrint(JsonFormatterStrategyContext context)
 {
     context.CloseCurrentScope();
     context.BuildContextIndents();
     context.AppendCurrentChar();
 }