teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

追記

2021/08/22 06:29

投稿

退会済みユーザー
answer CHANGED
@@ -7,4 +7,11 @@
7
7
  JSON 文字列から指定した name の value を取得
8
8
  [http://surferonwww.info/BlogEngine/post/2021/02/11/find-value-by-name-in-json-string.aspx](http://surferonwww.info/BlogEngine/post/2021/02/11/find-value-by-name-in-json-string.aspx)
9
9
 
10
- Controller のアクションメソッドでの JSON 文字列の取得方法、取得した JsonElement から目的の情報を得るのがチャレンジかもしれませんが・・・
10
+ Controller のアクションメソッドでの JSON 文字列の取得方法、取得した JsonElement から目的の情報を得るのがチャレンジかもしれませんが・・・
11
+
12
+ **【追記】**
13
+
14
+ 取得した JsonElement は、中身は全く不定でも、バラすことはできます。具体例は以下の記事を見てください
15
+
16
+ System.Text.Json の JsonElement をパース (CORE)
17
+ [http://surferonwww.info/BlogEngine/post/2021/02/08/parse-jsonelement-object-deserialized-by-deserialize-method-in-system-text-json.aspx](http://surferonwww.info/BlogEngine/post/2021/02/08/parse-jsonelement-object-deserialized-by-deserialize-method-in-system-text-json.aspx)