更新时间:2023-12-01 13:03:22
I suggest you use Newtonsoft.Json[^] to convert the json into a c# object.
There is plenty of help on how to use Newtonsoft.Json, and you can use nuget package manager to download it.
You can either parse it into an object you define or into a dynamic object, but explaining dynamic objects may fall outside the scope of this answer.
Once you have an object you will find it much easier to insert it into any particular database.
I suggest you use Newtonsoft.Json[^] to convert the json into a c# object.
There is plenty of help on how to use Newtonsoft.Json, and you can use nuget package manager to download it.
You can either parse it into an object you define or into a dynamic object, but explaining dynamic objects may fall outside the scope of this answer.
Once you have an object you will find it much easier to insert it into any particular database.