We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b098fc commit 0314b1aCopy full SHA for 0314b1a
opal/active_support/core_ext/object/json.rb
@@ -0,0 +1,31 @@
1
+require 'json'
2
+
3
+class Object
4
+ def as_json
5
+ nil
6
+ end
7
+end
8
9
+class Boolean
10
11
+ self
12
13
14
15
+class NilClass
16
17
18
19
20
21
+class Numeric
22
23
24
25
26
27
+class String
28
29
30
31
0 commit comments