Skip to main content

Interface IJsonSerializable

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

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

Methods

ToJson()

Converts the object to its JSON representation.

View Source
Declaration
string ToJson()
Returns

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