Пример #1
0
 public JsonFormatter(TextReader reader, JsonFormatSetting setting = null) {
     if (setting == null) {
         setting = new JsonFormatSetting();
     }
     this.setting = setting;
     this.jsonReader = new JsonReader(reader, setting.Relaxations);
 }
Пример #2
0
 public JsonFormatter(TextReader reader, JsonFormatSetting setting = null)
 {
     if (setting == null)
     {
         setting = new JsonFormatSetting();
     }
     this.setting    = setting;
     this.jsonReader = new JsonReader(reader, setting.Relaxations);
 }
Пример #3
0
 public JsonFormatter(string json, JsonFormatSetting setting = null)
     : this(new StringReader(json), setting)
 {
 }
Пример #4
0
        public JsonFormatter(string json, JsonFormatSetting setting = null)
            : this(new StringReader(json), setting) {

        }