method

to_json

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

Stores class name (Regexp) with options o and source s (Regexp or String) as JSON string