- Timestamp:
- Aug 9, 2017, 7:43:07 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/JSON/JSONNode.cs
r187 r309 1 1 using System; 2 using System.Text; 2 3 3 4 namespace AllocsFixes.JSON … … 5 6 public abstract class JSONNode 6 7 { 7 public abstract string ToString(bool prettyPrint = false, int currentLevel = 0); 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 } 8 15 } 9 16 } 10
Note:
See TracChangeset
for help on using the changeset viewer.