Class Chef::JSONCompat
In: lib/chef/json_compat.rb
Parent: Object

Methods

Constants

JSON_MAX_NESTING = 1000

Public Class methods

Just call the JSON gem‘s parse method with a modified :max_nesting field

See CHEF-1292/PL-538. Increase the max nesting for JSON, which defaults to 19, and isn‘t enough for some (for example, a Node within a Node) structures.

[Validate]