Actions
Bug #12219
closedJSON.parse does not resolve to specific Class by 'json_class' attribute, when symbolize_names:true
Description
When I enable symbolize_names, than parser does not match the 'json_class' attribute. The Hash instance is returned instead of expected instance of class defined in 'json_class' attribute.
JSON.parse(json, :create_additions => true, symbolize_names: true)
The attached Test demonstrates this issue.
Files
Actions
Like0
Like0