alchemrest 3.3.0 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,335 @@
1
+ # typed: false
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `json` gem.
5
+ # Please instead update this file by running `bin/tapioca gem json`.
6
+
7
+
8
+ # source://json//lib/json/version.rb#3
9
+ module JSON
10
+ private
11
+
12
+ # source://json//lib/json/common.rb#932
13
+ def dump(obj, anIO = T.unsafe(nil), limit = T.unsafe(nil), kwargs = T.unsafe(nil)); end
14
+
15
+ # source://json//lib/json/common.rb#462
16
+ def fast_generate(obj, opts = T.unsafe(nil)); end
17
+
18
+ # source://json//lib/json/common.rb#977
19
+ def fast_unparse(*_arg0, **_arg1, &_arg2); end
20
+
21
+ # source://json//lib/json/common.rb#441
22
+ def generate(obj, opts = T.unsafe(nil)); end
23
+
24
+ # source://json//lib/json/common.rb#856
25
+ def load(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end
26
+
27
+ # source://json//lib/json/common.rb#390
28
+ def load_file(filespec, opts = T.unsafe(nil)); end
29
+
30
+ # source://json//lib/json/common.rb#401
31
+ def load_file!(filespec, opts = T.unsafe(nil)); end
32
+
33
+ # source://json//lib/json/common.rb#353
34
+ def parse(source, opts = T.unsafe(nil)); end
35
+
36
+ # source://json//lib/json/common.rb#375
37
+ def parse!(source, opts = T.unsafe(nil)); end
38
+
39
+ # source://json//lib/json/common.rb#509
40
+ def pretty_generate(obj, opts = T.unsafe(nil)); end
41
+
42
+ # source://json//lib/json/common.rb#987
43
+ def pretty_unparse(*_arg0, **_arg1, &_arg2); end
44
+
45
+ # source://json//lib/json/common.rb#997
46
+ def restore(*_arg0, **_arg1, &_arg2); end
47
+
48
+ # source://json//lib/json/common.rb#967
49
+ def unparse(*_arg0, **_arg1, &_arg2); end
50
+
51
+ # source://json//lib/json/common.rb#685
52
+ def unsafe_load(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end
53
+
54
+ class << self
55
+ # source://json//lib/json/common.rb#132
56
+ def [](object, opts = T.unsafe(nil)); end
57
+
58
+ # source://json//lib/json/common.rb#236
59
+ def create_id; end
60
+
61
+ # source://json//lib/json/common.rb#230
62
+ def create_id=(new_value); end
63
+
64
+ # source://json//lib/json/common.rb#104
65
+ def deprecation_warning(message, uplevel = T.unsafe(nil)); end
66
+
67
+ # source://json//lib/json/common.rb#932
68
+ def dump(obj, anIO = T.unsafe(nil), limit = T.unsafe(nil), kwargs = T.unsafe(nil)); end
69
+
70
+ # source://json//lib/json/common.rb#462
71
+ def fast_generate(obj, opts = T.unsafe(nil)); end
72
+
73
+ # source://json//lib/json/common.rb#977
74
+ def fast_unparse(*_arg0, **_arg1, &_arg2); end
75
+
76
+ # source://json//lib/json/common.rb#441
77
+ def generate(obj, opts = T.unsafe(nil)); end
78
+
79
+ # source://json//lib/json/common.rb#179
80
+ def generator; end
81
+
82
+ # source://json//lib/json/common.rb#156
83
+ def generator=(generator); end
84
+
85
+ # source://json//lib/json/common.rb#856
86
+ def load(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end
87
+
88
+ # source://json//lib/json/common.rb#390
89
+ def load_file(filespec, opts = T.unsafe(nil)); end
90
+
91
+ # source://json//lib/json/common.rb#401
92
+ def load_file!(filespec, opts = T.unsafe(nil)); end
93
+
94
+ # source://json//lib/json/common.rb#353
95
+ def parse(source, opts = T.unsafe(nil)); end
96
+
97
+ # source://json//lib/json/common.rb#375
98
+ def parse!(source, opts = T.unsafe(nil)); end
99
+
100
+ # source://json//lib/json/common.rb#146
101
+ def parser; end
102
+
103
+ # source://json//lib/json/common.rb#149
104
+ def parser=(parser); end
105
+
106
+ # source://json//lib/json/common.rb#509
107
+ def pretty_generate(obj, opts = T.unsafe(nil)); end
108
+
109
+ # source://json//lib/json/common.rb#987
110
+ def pretty_unparse(*_arg0, **_arg1, &_arg2); end
111
+
112
+ # source://json//lib/json/common.rb#997
113
+ def restore(*_arg0, **_arg1, &_arg2); end
114
+
115
+ # source://json//lib/json/common.rb#182
116
+ def state; end
117
+
118
+ # source://json//lib/json/common.rb#182
119
+ def state=(_arg0); end
120
+
121
+ # source://json//lib/json/common.rb#967
122
+ def unparse(*_arg0, **_arg1, &_arg2); end
123
+
124
+ # source://json//lib/json/common.rb#685
125
+ def unsafe_load(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end
126
+
127
+ private
128
+
129
+ # source://json//lib/json/common.rb#1010
130
+ def const_missing(const_name); end
131
+
132
+ # source://json//lib/json/common.rb#205
133
+ def deprecated_singleton_attr_accessor(*attrs); end
134
+
135
+ # source://json//lib/json/common.rb#187
136
+ def on_mixed_keys_hash(hash, do_raise); end
137
+ end
138
+ end
139
+
140
+ # source://json//lib/json/common.rb#1036
141
+ class JSON::Coder
142
+ # source://json//lib/json/common.rb#1061
143
+ def initialize(options = T.unsafe(nil), &as_json); end
144
+
145
+ # source://json//lib/json/common.rb#1079
146
+ def dump(object, io = T.unsafe(nil)); end
147
+
148
+ # source://json//lib/json/common.rb#1079
149
+ def generate(object, io = T.unsafe(nil)); end
150
+
151
+ # source://json//lib/json/common.rb#1088
152
+ def load(source); end
153
+
154
+ # source://json//lib/json/common.rb#1097
155
+ def load_file(path); end
156
+
157
+ # source://json//lib/json/common.rb#1088
158
+ def parse(source); end
159
+ end
160
+
161
+ # source://json//lib/json/ext/generator/state.rb#6
162
+ class JSON::Ext::Generator::State
163
+ # source://json//lib/json/ext/generator/state.rb#13
164
+ def initialize(opts = T.unsafe(nil)); end
165
+
166
+ # source://json//lib/json/ext/generator/state.rb#77
167
+ def [](name); end
168
+
169
+ # source://json//lib/json/ext/generator/state.rb#91
170
+ def []=(name, value); end
171
+
172
+ # source://json//lib/json/ext/generator/state.rb#23
173
+ def configure(opts); end
174
+
175
+ # source://json//lib/json/ext/generator/state.rb#23
176
+ def merge(opts); end
177
+
178
+ # source://json//lib/json/ext/generator/state.rb#42
179
+ def to_h; end
180
+
181
+ # source://json//lib/json/ext/generator/state.rb#42
182
+ def to_hash; end
183
+ end
184
+
185
+ # source://json//lib/json/ext.rb#9
186
+ class JSON::Ext::Parser
187
+ # source://json//lib/json/ext.rb#17
188
+ def initialize(source, opts = T.unsafe(nil)); end
189
+
190
+ # source://json//lib/json/ext.rb#26
191
+ def parse; end
192
+
193
+ # source://json//lib/json/ext.rb#22
194
+ def source; end
195
+ end
196
+
197
+ # source://json//lib/json/ext.rb#32
198
+ JSON::Ext::Parser::Config = JSON::Ext::ParserConfig
199
+
200
+ # source://json//lib/json/common.rb#289
201
+ class JSON::Fragment < ::Struct
202
+ # source://json//lib/json/common.rb#290
203
+ def initialize(json); end
204
+
205
+ def json; end
206
+ def json=(_); end
207
+
208
+ # source://json//lib/json/common.rb#298
209
+ def to_json(state = T.unsafe(nil), *_arg1); end
210
+
211
+ class << self
212
+ def [](*_arg0); end
213
+ def inspect; end
214
+ def keyword_init?; end
215
+ def members; end
216
+ def new(*_arg0); end
217
+ end
218
+ end
219
+
220
+ # source://json//lib/json/common.rb#259
221
+ class JSON::GeneratorError < ::JSON::JSONError
222
+ # source://json//lib/json/common.rb#262
223
+ def initialize(message, invalid_object = T.unsafe(nil)); end
224
+
225
+ # source://json//lib/json/common.rb#267
226
+ def detailed_message(*_arg0, **_arg1, &_arg2); end
227
+
228
+ # source://json//lib/json/common.rb#260
229
+ def invalid_object; end
230
+ end
231
+
232
+ # source://json//lib/json/common.rb#1102
233
+ module JSON::GeneratorMethods
234
+ # source://json//lib/json/common.rb#1110
235
+ def to_json(state = T.unsafe(nil), *_arg1); end
236
+ end
237
+
238
+ # source://json//lib/json/generic_object.rb#9
239
+ class JSON::GenericObject < ::OpenStruct
240
+ # source://json//lib/json/generic_object.rb#59
241
+ def as_json(*_arg0); end
242
+
243
+ # source://json//lib/json/generic_object.rb#51
244
+ def to_hash; end
245
+
246
+ # source://json//lib/json/generic_object.rb#63
247
+ def to_json(*a); end
248
+
249
+ # source://json//lib/json/generic_object.rb#55
250
+ def |(other); end
251
+
252
+ class << self
253
+ # source://json//lib/json/generic_object.rb#45
254
+ def dump(obj, *args); end
255
+
256
+ # source://json//lib/json/generic_object.rb#25
257
+ def from_hash(object); end
258
+
259
+ # source://json//lib/json/generic_object.rb#17
260
+ def json_creatable=(_arg0); end
261
+
262
+ # source://json//lib/json/generic_object.rb#13
263
+ def json_creatable?; end
264
+
265
+ # source://json//lib/json/generic_object.rb#19
266
+ def json_create(data); end
267
+
268
+ # source://json//lib/json/generic_object.rb#40
269
+ def load(source, proc = T.unsafe(nil), opts = T.unsafe(nil)); end
270
+ end
271
+ end
272
+
273
+ # source://json//lib/json/common.rb#358
274
+ JSON::PARSE_L_OPTIONS = T.let(T.unsafe(nil), Hash)
275
+
276
+ # source://json//lib/json/common.rb#471
277
+ JSON::PRETTY_GENERATE_OPTIONS = T.let(T.unsafe(nil), Hash)
278
+
279
+ # source://json//lib/json/common.rb#152
280
+ JSON::Parser = JSON::Ext::Parser
281
+
282
+ # source://json//lib/json/common.rb#250
283
+ class JSON::ParserError < ::JSON::JSONError
284
+ # source://json//lib/json/common.rb#251
285
+ def column; end
286
+
287
+ # source://json//lib/json/common.rb#251
288
+ def line; end
289
+ end
290
+
291
+ # source://json//lib/json/common.rb#8
292
+ module JSON::ParserOptions
293
+ class << self
294
+ # source://json//lib/json/common.rb#10
295
+ def prepare(opts); end
296
+
297
+ private
298
+
299
+ # source://json//lib/json/common.rb#40
300
+ def array_class_proc(array_class, on_load); end
301
+
302
+ # source://json//lib/json/common.rb#52
303
+ def create_additions_proc(opts); end
304
+
305
+ # source://json//lib/json/common.rb#95
306
+ def create_additions_warning; end
307
+
308
+ # source://json//lib/json/common.rb#29
309
+ def object_class_proc(object_class, on_load); end
310
+ end
311
+ end
312
+
313
+ # source://json//lib/json/common.rb#173
314
+ JSON::State = JSON::Ext::Generator::State
315
+
316
+ # source://json//lib/json/common.rb#1127
317
+ module Kernel
318
+ private
319
+
320
+ # source://json//lib/json/common.rb#1166
321
+ def JSON(object, opts = T.unsafe(nil)); end
322
+
323
+ # source://json//lib/json/common.rb#1132
324
+ def j(*objs); end
325
+
326
+ # source://json//lib/json/common.rb#1147
327
+ def jj(*objs); end
328
+ end
329
+
330
+ # source://json//lib/json/common.rb#1171
331
+ class Object < ::BasicObject
332
+ include ::Kernel
333
+ include ::PP::ObjectMixin
334
+ include ::JSON::GeneratorMethods
335
+ end