vibe.d beta banner
get vibe.d
0.8.2

Asynchronous I/O that doesn’t get in your way, written in D

Function serializeToPrettyJson

Serializes the given value to a pretty printed JSON string.

void serializeToPrettyJson(R, T) (
  R destination,
  T value
)
if (isOutputRange!(R, char) || isOutputRange!(R, ubyte));

string serializeToPrettyJson(T) (
  T value
);

See also

serializeToJson

Authors

Sönke Ludwig

Copyright

© 2012-2013 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.