Last change
on this file since 331 was 325, checked in by alloc, 6 years ago |
Code style cleanup (mostly whitespace changes, enforcing braces, using cleanup)
|
File size:
330 bytes
|
Rev | Line | |
---|
[309] | 1 | using System.Text;
|
---|
[154] | 2 |
|
---|
[325] | 3 | namespace AllocsFixes.JSON {
|
---|
| 4 | public abstract class JSONNode {
|
---|
| 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.