Sha256: 4962647e76f25fe9f2cc61074ee16d2e58097ee9059e1bf3a4b85ad88dbc5f6f

Contents?: true

Size: 287 Bytes

Versions: 77

Compression:

Stored size: 287 Bytes

Contents

module Bolognese
  module Readers
    module CrossciteReader
      def read_crosscite(string: nil, **options)
        errors = jsonlint(string)
        return { "errors" => errors } if errors.present?

        string.present? ? Maremma.from_json(string) : {}
      end
    end
  end
end

Version data entries

77 entries across 77 versions & 1 rubygems

Version Path
bolognese-0.9.99 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.9.98 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.9.97 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.9.96 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.9.95 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.9.94 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.9.93 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.9.92 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.9.91 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.9.89 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.9.88 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.9.87 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.9.86 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.9.85 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.9.84 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.9.83 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.9.82 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.9.81 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.9.80 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.9.79 lib/bolognese/readers/crosscite_reader.rb