るりまサーチ

最速Rubyリファレンスマニュアル検索!
36件ヒット [1-36件を表示] (0.045秒)
トップページ > クエリ:parser[x] > クエリ:ParserError[x]

別のキーワード

  1. sax2parser listen
  2. rexml/parsers/sax2parser listen
  3. parser parse
  4. json parser
  5. parser new

種類

ライブラリ

モジュール

キーワード

検索結果

JSON::ParserError (24000.0)

JSON のパースエラーを通知する例外です。

JSON のパースエラーを通知する例外です。

JSON::UnparserError (12000.0)

Alias of JSON::GeneratorError

Alias of JSON::GeneratorError

JSON.#parse!(source, options = {}) -> object (12.0)

与えられた JSON 形式の文字列を Ruby オブジェクトに変換して返します。

...:\"tanaka\",\"age\":19}, NaN]"
JSON.parse!(json_text)
# => [1, 2, {"name"=>"tanaka", "age"=>19}, NaN]

JSON.parse!(json_text, symbolize_names: true)
# => [1, 2, {:name=>"tanaka", :age=>19}, NaN]

JSON.parse(json_text) # => unexpected token at 'NaN]' (JSON::ParserError)
//}

@see JSON::Parser#parse...