Module: FastJsonapi

Defined in:
lib/fast_jsonapi/multi_to_json.rb,
lib/fast_jsonapi.rb,
lib/fast_jsonapi/link.rb,
lib/fast_jsonapi/version.rb,
lib/fast_jsonapi/attribute.rb,
lib/fast_jsonapi/relationship.rb,
lib/fast_jsonapi/object_serializer.rb,
lib/fast_jsonapi/serialization_core.rb,
lib/fast_jsonapi/instrumentation/serialized_json.rb,
lib/fast_jsonapi/instrumentation/serializable_hash.rb,
lib/fast_jsonapi/instrumentation/skylight/normalizers/serialized_json.rb,
lib/fast_jsonapi/instrumentation/skylight/normalizers/serializable_hash.rb

Overview

Usage:

class Movie
  def to_json(payload)
    FastJsonapi::MultiToJson.to_json(payload)
  end
end

Defined Under Namespace

Modules: Instrumentation, MultiToJson, ObjectSerializer, SerializationCore Classes: Attribute, Link, Relationship

Constant Summary collapse

VERSION =
"1.4"
MandatoryField =
Class.new(StandardError)