Open forthrin opened 1 year ago
If there a way to make this (or another) gem print objects on a form that:
foo =
Time.now
{...}.to_json
"https://domain/path/?#{URI.encode_www_form({a: 1, b: 2, ...})"
one = [ false, 42, %w[forty two], { now: Time.now, class: Time, distance: 4.2e+43 } ] ap(one) [ false, 42, %w[forty two], { now: Time.now, class: Time, distance: 4.2e+43 } ]
For me personally it doesn't need support for classes, methods, etc. as I assume that's the 80% of the Pareto principle.
If there a way to make this (or another) gem print objects on a form that:
foo =
and run as code)Time.now
{...}.to_json
"https://domain/path/?#{URI.encode_www_form({a: 1, b: 2, ...})"
For me personally it doesn't need support for classes, methods, etc. as I assume that's the 80% of the Pareto principle.