We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 492f657 commit 8e90c1cCopy full SHA for 8e90c1c
vlib/x/json2/decoder2/stub.v
@@ -0,0 +1,15 @@
1
+module decoder2
2
+
3
+import x.json2
4
5
+@[deprecated: '`decode` has been moved to `x.json2`, use `decode` from `x.json2` instead']
6
+@[deprecated_after: '2025-10-12']
7
+fn decode[T](val string) !T {
8
+ return json2.decode[T](val)
9
+}
10
11
12
+@[deprecated_after: '2025-03-18']
13
+fn decode_array[T](src string) !T {
14
+ return json2.decode[T](src)
15
0 commit comments