function toJSON() {
		var out = {};
		out.type = 'PRNG';
		out.name = prng.NAME;
		out.state = typedarray2json( rand.state );
		if ( a === void 0 ) {
			out.params = [];
		} else {
			out.params = [ a, b ];
		}
		return out;
	}
Serializes the pseudorandom number generator as a JSON object.

## Notes

-   `JSON.stringify()` implicitly calls this method when stringifying a PRNG.

@private
@returns {Object} JSON representation