Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. RestResource.php

RestResource::$serialization_class

The serialization class to deserialize serialized data into.

This property is optional and it does not need to be declared.

Type: string

See also

\Symfony\Component\Serializer\SerializerInterface's "type" parameter.

File

core/modules/rest/src/Annotation/RestResource.php, line 50

Class

RestResource
Defines a REST resource annotation object.

Namespace

Drupal\rest\Annotation

Code

public $serialization_class;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal