Serializes data to a string.
UTF-8 encoded by default.
Supports $(SUPPORTEDSTRUCTURES).
Serialization format ($(SUPPORTEDFORMATS))
The data to be serialized
A string in the specified format representing the user's data, UTF-8 encoded
//3 as a JSON object assert(3.toString!JSON == `3`); //"str" as a JSON object assert("str".toString!JSON == `"str"`);
See Implementation
Serializes data to a string.
UTF-8 encoded by default.
Supports $(SUPPORTEDSTRUCTURES).