source:
binary-improvements/7dtd-server-fixes/src/JSON/JSONString.cs@
156
Last change on this file since 156 was 154, checked in by , 10 years ago | |
---|---|
File size: 271 bytes |
Rev | Line | |
---|---|---|
[154] | 1 | using System; |
2 | ||
3 | namespace AllocsFixes.JSON | |
4 | { | |
5 | public class JSONString : JSONNode | |
6 | { | |
7 | private string value; | |
8 | ||
9 | public JSONString (string value) | |
10 | { | |
11 | this.value = value; | |
12 | } | |
13 | ||
14 | public override string ToString () | |
15 | { | |
16 | return string.Format ("\"{0}\"", value); | |
17 | } | |
18 | ||
19 | } | |
20 | } | |
21 |
Note:
See TracBrowser
for help on using the repository browser.