Options
All
  • Public
  • Public/Protected
  • All
Menu

Class JsonSerializer

Serializes and deserializes entities as JSON.

Hierarchy

  • JsonSerializer

Implements

Index

Properties

Readonly supportedMediaTypes

supportedMediaTypes: string[] = ["application/json"]

A list of MIME types this serializer supports.

Methods

deserialize

  • deserialize<T>(text: string): T

serialize

  • serialize<T>(entity: T): string

Generated using TypeDoc