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