PP.ensureObjectArray

Syntax

ensureObjectArray(type: PP.Object, obj: Array);

Parameters

type. Object type:

obj. JSON object to convert, or an object of specified type.

Description

The ensureObjectArray method converts a specified array of JSON object to array of objects with specified type.

Comments

This method returns an array of PP objects with specified type.

Example

The example of use is given in the with description of the PP.ensureObject method.

See also:

PP