source:
binary-improvements/7dtd-server-fixes/src/JSON/JSONNode.cs@
315
| Last change on this file since 315 was 309, checked in by , 8 years ago | |
|---|---|
| File size: 344 bytes | |
| Line | |
|---|---|
| 1 | using System; |
| 2 | using System.Text; |
| 3 | |
| 4 | namespace AllocsFixes.JSON |
| 5 | { |
| 6 | public abstract class JSONNode |
| 7 | { |
| 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 | } |
| 15 | } |
| 16 | } |
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)