JSONObject.Print C# (CSharp) Method

Print() public method

public Print ( bool pretty = false ) : string
pretty bool
return string
	public string Print(bool pretty = false)
	{
		StringBuilder builder = new StringBuilder();
		Stringify(0, builder, pretty);
		return builder.ToString();
	}
	public IEnumerable<string> PrintAsync(bool pretty = false)

Usage Example

Exemplo n.º 1
0
    public void SendData(JSONObject obj)
    {
        print("<color=#32D51CFF>SEND :</color> " + obj.Print());
        JSONObject newData = new JSONObject();
        string     tempstr = AESEncrypt(obj.Print(), ENCKEY, ENCIV);

        newData.AddField("data", tempstr);
        socket.Emit("req", newData);
    }
All Usage Examples Of JSONObject::Print