예제 #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) {

        }