16 lines
440 B
C#
16 lines
440 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace LeanCloud.Storage.Internal {
|
|||
|
/// <summary>
|
|||
|
/// Represents an object that can be converted into JSON.
|
|||
|
/// </summary>
|
|||
|
public interface IJsonConvertible {
|
|||
|
/// <summary>
|
|||
|
/// Converts the object to a data structure that can be converted to JSON.
|
|||
|
/// </summary>
|
|||
|
/// <returns>An object to be JSONified.</returns>
|
|||
|
IDictionary<string, object> ToJSON();
|
|||
|
}
|
|||
|
}
|