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-2.3.1-java lib/gooddata/mixins/to_json.rb
gooddata-2.3.1 lib/gooddata/mixins/to_json.rb
gooddata-2.3.0-java lib/gooddata/mixins/to_json.rb
gooddata-2.3.0 lib/gooddata/mixins/to_json.rb
gooddata-2.2.0-java lib/gooddata/mixins/to_json.rb
gooddata-2.2.0 lib/gooddata/mixins/to_json.rb
gooddata-2.1.19-java lib/gooddata/mixins/to_json.rb
gooddata-2.1.19 lib/gooddata/mixins/to_json.rb
gooddata-2.1.17-java lib/gooddata/mixins/to_json.rb
gooddata-2.1.17 lib/gooddata/mixins/to_json.rb
gooddata-2.1.15-java lib/gooddata/mixins/to_json.rb
gooddata-2.1.15 lib/gooddata/mixins/to_json.rb
gooddata-2.1.14-java lib/gooddata/mixins/to_json.rb
gooddata-2.1.14 lib/gooddata/mixins/to_json.rb
gooddata-2.1.13-java lib/gooddata/mixins/to_json.rb
gooddata-2.1.13 lib/gooddata/mixins/to_json.rb
gooddata-2.1.12-java lib/gooddata/mixins/to_json.rb
gooddata-2.1.12 lib/gooddata/mixins/to_json.rb
gooddata-2.1.11-java lib/gooddata/mixins/to_json.rb
gooddata-2.1.11 lib/gooddata/mixins/to_json.rb