public void RiakBucketKeyKeyDataInputSeralisesCorrectly() { var input = new RiakBucketKeyKeyDataInput() .Add("foo", "bar", "baz") .Add("foo", "baz", 130) .Add("dooby", "scooby", new { la = "ding", ray = "me", wit = 0 }); var s = Serialize(input.WriteJson); Assert.AreEqual(s, "\"inputs\":[[\"foo\",\"bar\",\"baz\"],[\"foo\",\"baz\",130],[\"dooby\",\"scooby\",{\"la\":\"ding\",\"ray\":\"me\",\"wit\":0}]]"); }
public RiakMapReduceQuery Inputs(RiakBucketKeyKeyDataInput riakBucketKeyKeyDataInputs) { _inputs = riakBucketKeyKeyDataInputs; return this; }