The collection should be able to be cast as a string.
use Paragraf\Kit\Collection;
(string) new Collection([1, 2, 3]);
// "[1,2,3]"
(string) new Collection([
'foo' => 123,
'bar' => [4, 5, 6],
'baz' => [
'foo' => '1',
],
]);
// "{"foo":123,"bar":[4,5,6],"baz":{"foo":"1"}}"
Full Changelog: v0.1.0...v0.1.1