Yamato DaiwaE(CMA)S(cript) extensions

RawObjectDataProcessor

Class for validating and processing data of type "object" (in particular arrays) with subsequent casting to a specific TypeScript type.

Needed in most cases when data comes from a source unreachable for type checking with TypeScript. In particular, the following scenarios:

  • Retrieving of a data from the client side in client–server interactions
  • Conversely, retrieving of a data from the server side in client–server interactions
  • Retrieving data from a database
  • Reading data from a file (JSON, YAML and similar)