1 parent 24ba249 commit 69d3b19Copy full SHA for 69d3b19
1 file changed
src/ServiceStack.Text/JsonObject.cs
@@ -110,9 +110,11 @@ public string Child(string key)
110
{
111
return base[key];
112
}
113
-
+#if !SILVERLIGHT && !MONOTOUCH
114
static readonly Regex NumberRegEx = new Regex(@"^[0-9]*(?:\.[0-9]*)?$", RegexOptions.Compiled);
115
+#else
116
+ static readonly Regex NumberRegEx = new Regex(@"^[0-9]*(?:\.[0-9]*)?$");
117
+#endif
118
/// <summary>
119
/// Write JSON Array, Object, bool or number values as raw string
120
/// </summary>
0 commit comments