mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-16 00:42:51 +08:00
15 lines
379 B
C#
15 lines
379 B
C#
namespace Spectre.Console.Json;
|
|
|
|
/// <summary>
|
|
/// Represents a JSON parser.
|
|
/// </summary>
|
|
public interface IJsonParser
|
|
{
|
|
/// <summary>
|
|
/// Parses the provided JSON into an abstract syntax tree.
|
|
/// </summary>
|
|
/// <param name="json">The JSON to parse.</param>
|
|
/// <returns>An <see cref="JsonSyntax"/> instance.</returns>
|
|
JsonSyntax Parse(string json);
|
|
}
|