source: binary-improvements/7dtd-server-fixes/src/JSON/JSONNode.cs@ 323

Last change on this file since 323 was 309, checked in by alloc, 7 years ago

Fixes 14_16_21

File size: 344 bytes
RevLine 
[154]1using System;
[309]2using System.Text;
[154]3
4namespace AllocsFixes.JSON
5{
6 public abstract class JSONNode
7 {
[309]8 public abstract void ToString(StringBuilder stringBuilder, bool prettyPrint = false, int currentLevel = 0);
9
10 public override string ToString () {
11 StringBuilder sb = new StringBuilder ();
12 ToString (sb);
13 return sb.ToString ();
14 }
[154]15 }
[309]16}
Note: See TracBrowser for help on using the repository browser.