Module: DataMapper::Serializer::ValidationErrors::ToJson

### Home Classes Methods

### In Files

- lib/dm-serializer/to_json.rb

### Methods

- #to_json

### Files

- LICENSE
- README.rdoc

### Class/Module Index

Quicksearch

- DataMapper
- DataMapper::Collection
- DataMapper::Serializer
- DataMapper::Serializer::Collection
- DataMapper::Serializer::Collection::ToYaml
- DataMapper::Serializer::ValidationErrors
- DataMapper::Serializer::ValidationErrors::ToCsv
- DataMapper::Serializer::ValidationErrors::ToJson
- DataMapper::Serializer::ValidationErrors::ToXml
- DataMapper::Serializer::ValidationErrors::ToYaml
- DataMapper::Serializer::XML
- DataMapper::Serializer::XML::LibXML
- DataMapper::Serializer::XML::Nokogiri
- DataMapper::Serializer::XML::REXML
- DataMapper::Validations
- DataMapper::Validations::ValidationErrors
- Object

No matching classes.

# DataMapper::Serializer::ValidationErrors::ToJson

### Public Instance Methods

to_json(*args) click to toggle source

    # File lib/dm-serializer/to_json.rb, line 71
    def to_json(*args)
      MultiJson.encode(Hash[ errors ])
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.