method

to_json

to_json(*args)
public

Stores class name (OpenStruct) with this struct’s values v as a JSON string.