diff --git a/ln.json/JSONValue.cs b/ln.json/JSONValue.cs
index f564946..bbb414c 100644
--- a/ln.json/JSONValue.cs
+++ b/ln.json/JSONValue.cs
@@ -47,5 +47,16 @@ namespace ln.json
public abstract JSONValue Clone();
public override string ToString() => throw new NotImplementedException();
+
+
+ public static implicit operator JSONValue(string v) => new JSONString(v);
+ public static implicit operator JSONValue(float v) => new JSONNumber(v);
+ public static implicit operator JSONValue(double v) => new JSONNumber(v);
+ public static implicit operator JSONValue(decimal v) => new JSONNumber(v);
+ public static implicit operator JSONValue(int v) => new JSONNumber(v);
+ public static implicit operator JSONValue(long v) => new JSONNumber(v);
+ public static implicit operator JSONValue(uint v) => new JSONNumber(v);
+ public static implicit operator JSONValue(ulong v) => new JSONNumber(v);
+
}
}
diff --git a/ln.json/ln.json.csproj b/ln.json/ln.json.csproj
index a1531c5..09684e6 100644
--- a/ln.json/ln.json.csproj
+++ b/ln.json/ln.json.csproj
@@ -9,7 +9,7 @@
true
0.1.0.0
0.1.0.0
- 1.3.0-preview3
+ 1.3.0-preview4
net7.0