Phaser API Documentation

  Version: 
toJSON()

Description:

Returns a JSON representation of the Game Object.

Returns:
Description:

A JSON representation of the Game Object.

Examples:
Since: 3.0.0