using System;
namespace LC.Newtonsoft.Json.Linq
{
///
/// Specifies the settings used when selecting JSON.
///
public class JsonSelectSettings
{
#if HAVE_REGEX_TIMEOUTS
///
/// Gets or sets a timeout that will be used when executing regular expressions.
///
/// The timeout that will be used when executing regular expressions.
public TimeSpan? RegexMatchTimeout { get; set; }
#endif
///
/// Gets or sets a flag that indicates whether an error should be thrown if
/// no tokens are found when evaluating part of the expression.
///
///
/// A flag that indicates whether an error should be thrown if
/// no tokens are found when evaluating part of the expression.
///
public bool ErrorWhenNoMatch { get; set; }
}
}