Skip to main content

Interface IJsonSerializable

Represents an interface for objects that can be serialized to JSON.

Assembly: Meadow.Contracts.dll
View Source
public interface IJsonSerializable

Methods

ToJson()

Converts the object to its JSON representation.

View Source
string ToJson()
Returns

System.String: A string containing the JSON representation of the object.