We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 551b912 + 8db6906 commit 8dfbefbCopy full SHA for 8dfbefb
refm/api/src/json/JSON
@@ -296,6 +296,26 @@ proc として手続きオブジェクトが与えられた場合は、読み込
296
: :symbolize_names
297
真を指定するとハッシュのキーを文字列ではなくシンボルにします。デフォルトは偽です。
298
299
+--- load_file(filespec, opts = {}) -> object
300
+
301
+filespec で指定した JSON 形式のファイルを Ruby オブジェクトとしてロードして返します。
302
303
+@param filespec ファイル名を指定します。
304
305
+@param options オプションをハッシュで指定します。指定可能なオプションは [[m:JSON.#parse]] と同様です。
306
307
+@see [[m:JSON.#parse]]
308
309
+--- load_file!(filespec, opts = {}) -> object
310
311
312
313
314
315
+@param options オプションをハッシュで指定します。指定可能なオプションは [[m:JSON.#parse!]] と同様です。
316
317
+@see [[m:JSON.#parse!]]
318
319
--- parse(source, options = {}) -> object
320
321
与えられた JSON 形式の文字列を Ruby オブジェクトに変換して返します。
0 commit comments