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.1.0-java lib/gooddata/mixins/to_json.rb
gooddata-2.1.0 lib/gooddata/mixins/to_json.rb
gooddata-2.0.1-java lib/gooddata/mixins/to_json.rb
gooddata-2.0.1 lib/gooddata/mixins/to_json.rb
gooddata-2.0.0-java lib/gooddata/mixins/to_json.rb
gooddata-2.0.0 lib/gooddata/mixins/to_json.rb
gooddata-1.3.6-java lib/gooddata/mixins/to_json.rb
gooddata-1.3.6 lib/gooddata/mixins/to_json.rb
gooddata-1.3.5-java lib/gooddata/mixins/to_json.rb
gooddata-1.3.5 lib/gooddata/mixins/to_json.rb
gooddata-1.3.4-java lib/gooddata/mixins/to_json.rb
gooddata-1.3.4 lib/gooddata/mixins/to_json.rb
gooddata-1.3.3-java lib/gooddata/mixins/to_json.rb
gooddata-1.3.3 lib/gooddata/mixins/to_json.rb
gooddata-1.3.2-java lib/gooddata/mixins/to_json.rb
gooddata-1.3.2 lib/gooddata/mixins/to_json.rb
gooddata-1.3.1-java lib/gooddata/mixins/to_json.rb
gooddata-1.3.1 lib/gooddata/mixins/to_json.rb
gooddata-1.3.0-java lib/gooddata/mixins/to_json.rb
gooddata-1.3.0 lib/gooddata/mixins/to_json.rb