Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は最近、Elastic Search の JSON REST サービスを頻繁に使用しています。私が遭遇した最も一般的な問題は、JSON での HTML のエンコードとコーディングです。
この時点で、 と の組み合わせを試してみましたhtmlencodeがhtmldecode、一部の文字は面白いものになりました。
htmlencode
htmldecode
この HTML を処理する最良の方法は何ですか?
エンコードとデコードに JSON.NET を使用しましたが、問題なく動作しているようです。JSON の操作を検討しているすべての人に、これを強くお勧めします。