Esempio n. 1
0
    private async Task DoubleQuotationUnescape()
    {
        // テストデータ作成
        NCMBObject obj = new NCMBObject("TestClass");

        obj["key"] = "\"test\"";

        await obj.SaveTaskAsync();

        // テストデータ検索
        NCMBQuery <NCMBObject> query = new NCMBQuery <NCMBObject>("TestClass");

        query.WhereEqualTo("objectId", obj.ObjectId);

        var list = await query.FindTaskAsync();

        Assert.AreEqual("\"test\"", list[0]["key"]);
    }