mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-04-26 01:37:54 +08:00
重新设计了Libray.Json Api以及 WebSocket 的交互处理方式
This commit is contained in:
@@ -6,11 +6,14 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using static Serein.Library.Api.IJsonToken;
|
||||
|
||||
namespace Serein.Extend.NewtonsoftJson
|
||||
{
|
||||
public sealed class NewtonsoftJsonArrayToken : IJsonToken, IList<IJsonToken>
|
||||
{
|
||||
public TokenType Type => TokenType.Array;
|
||||
|
||||
private readonly JArray _array;
|
||||
public NewtonsoftJsonArrayToken(JArray array) => _array = array;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user