From f37778c84866ce4f8c7cb633ffe4d22eace692b1 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 16 Dec 2011 17:38:19 -0800 Subject: [PATCH] Don't output json_class with the config json --- lib/vagrant/config/base.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/vagrant/config/base.rb b/lib/vagrant/config/base.rb index c51f2766a..2cc31d82b 100644 --- a/lib/vagrant/config/base.rb +++ b/lib/vagrant/config/base.rb @@ -48,8 +48,7 @@ module Vagrant # the JSON is parsed back, it can be loaded back into the proper class. # See {json_create}. def to_json(*a) - result = { 'json_class' => self.class.name } - result.merge(instance_variables_hash).to_json(*a) + instance_variables_hash.to_json(*a) end # Returns the instance variables as a hash of key-value pairs.