class JSON::Ext::Parser
This is theJSON parser implemented as a C extension. It can be configured to be used by setting
JSON.parser =JSON::Ext::Parser
with the method parser= inJSON.
Constants
- Config
Public Class Methods
Source
# File ext/json/lib/json/ext.rb, line 17definitialize(source,opts =nil)@source =source@config =Config.new(opts)end
Source
# File ext/json/lib/json/ext.rb, line 11defparse(...)new(...).parseend
Also aliased as: parse