Serialize an object preserving literal values
The object to serialize
serialize(Infinity) >> '"Infinity"'; serialize({ a: 1, b: 2 }) >> '{"a": 1, "b": 2}'; Copy
serialize(Infinity) >> '"Infinity"'; serialize({ a: 1, b: 2 }) >> '{"a": 1, "b": 2}';
Serialize an object preserving literal values