public string AsJson(bool indented, int indent) { indent = indented ? indent : 0; return(string.Format("{0}\"{1}\":{2}", new string(' ', indent), JsonValue.Escape(this.Name), this.Value.AsJson(indented, indent + 2))); }
public JsonProperty(string name, JsonValue value) { this.Name = name; this.Value = value; }