diff options
Diffstat (limited to 'lib/chef_zero/endpoints/rest_list_endpoint.rb')
-rw-r--r-- | lib/chef_zero/endpoints/rest_list_endpoint.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef_zero/endpoints/rest_list_endpoint.rb b/lib/chef_zero/endpoints/rest_list_endpoint.rb index 4fa277b..a1b9487 100644 --- a/lib/chef_zero/endpoints/rest_list_endpoint.rb +++ b/lib/chef_zero/endpoints/rest_list_endpoint.rb @@ -1,4 +1,4 @@ -require 'json' +require 'ffi_yajl' require 'chef_zero/rest_base' module ChefZero @@ -33,7 +33,7 @@ module ChefZero end def get_key(contents) - JSON.parse(contents, :create_additions => false)[identity_key] + FFI_Yajl::Parser.parse(contents, :create_additions => false)[identity_key] end end end |