/// <summary> /// Writes criterion to specified writer. /// </summary> public void WriteTo(JsonWriter writer) { // $strand String tokens OR String array val matches all tokens in specified array: //{'fpath' : {'$strand' : [val1, val2, val3]}} //$stror String tokens OR String array val matches any token in specified array: //{'fpath' : {'$stror' : [val1, val2, val3]}} var token = _match == Match.All ? "$strand" : "$stror"; writer.WriteArrayBaseCritertion(token, _tokens); }