Sha256: 4d3318be923ac1674f66b5ada843c85ee5005a79fd1f7e2cbca8d5af90808611

Contents?: true

Size: 170 Bytes

Versions: 103

Compression:

Stored size: 170 Bytes

Contents

require 'multi_json'

module GoodData
  module Mixin
    module ToJson
      def to_json(pretty = false)
        MultiJson.dump(json, pretty)
      end
    end
  end
end

Version data entries

103 entries across 103 versions & 2 rubygems

Version Path
gooddata-0.6.47 lib/gooddata/mixins/to_json.rb
gooddata-0.6.46 lib/gooddata/mixins/to_json.rb
gooddata-0.6.45 lib/gooddata/mixins/to_json.rb
gooddata-0.6.44 lib/gooddata/mixins/to_json.rb
gooddata-0.6.43 lib/gooddata/mixins/to_json.rb
gooddata-0.6.42 lib/gooddata/mixins/to_json.rb
gooddata-0.6.41 lib/gooddata/mixins/to_json.rb
gooddata-0.6.40 lib/gooddata/mixins/to_json.rb
gooddata-0.6.39 lib/gooddata/mixins/to_json.rb
gooddata-0.6.38 lib/gooddata/mixins/to_json.rb
gooddata-0.6.37 lib/gooddata/mixins/to_json.rb
gooddata-0.6.36 lib/gooddata/mixins/to_json.rb
gooddata-0.6.35 lib/gooddata/mixins/to_json.rb
gooddata-0.6.34 lib/gooddata/mixins/to_json.rb
gooddata-0.6.33 lib/gooddata/mixins/to_json.rb
gooddata-0.6.32 lib/gooddata/mixins/to_json.rb
gooddata-0.6.31 lib/gooddata/mixins/to_json.rb
gooddata-0.6.30 lib/gooddata/mixins/to_json.rb
gooddata-0.6.29 lib/gooddata/mixins/to_json.rb
gooddata-0.6.28 lib/gooddata/mixins/to_json.rb