source:
binary-improvements2/7dtd-server-fixes/src/JSON/JSONNode.cs@
392
Last change on this file since 392 was 391, checked in by , 2 years ago | |
---|---|
File size: 333 bytes |
Rev | Line | |
---|---|---|
[309] | 1 | using System.Text; |
[154] | 2 | |
[325] | 3 | namespace AllocsFixes.JSON { |
[391] | 4 | public abstract class JsonNode { |
[351] | 5 | public abstract void ToString (StringBuilder _stringBuilder, bool _prettyPrint = false, int _currentLevel = 0); |
[309] | 6 | |
7 | public override string ToString () { | |
8 | StringBuilder sb = new StringBuilder (); | |
9 | ToString (sb); | |
10 | return sb.ToString (); | |
11 | } | |
[154] | 12 | } |
[309] | 13 | } |
Note:
See TracBrowser
for help on using the repository browser.