You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
607 B
C#
19 lines
607 B
C#
using System.Dynamic;
|
|
using Infrastructure.CloudSdk.wayline;
|
|
using Newtonsoft.Json;
|
|
using NUnit.Framework;
|
|
|
|
namespace OpenAuth.WebApi.boot;
|
|
|
|
public class TestAbc
|
|
{
|
|
[Test]
|
|
public void TestDser()
|
|
{
|
|
var json =
|
|
@"{""bid"":""e62da5f5-acaa-442a-8134-38ea56f88347"",""data"":{""result"":319003},""method"":""flighttask_execute"",""tid"":""6d638f18-20d7-4625-ac58-3cca1e5d100e"",""timestamp"":1750379532217}";
|
|
var result = JsonConvert.DeserializeObject<TopicServicesRequest<dynamic>>(json);
|
|
long code = result.data.result;
|
|
Console.WriteLine(code);
|
|
}
|
|
} |