method

to_json

v2_6_3 - Show latest stable - Class: Complex
to_json(*)
public

Stores class name (Complex) along with real value r and imaginary value i as JSON string