toJson

public String toJson()

Serializes the instance to a Json string.