Home > front end >  Azure Cognitive Search query results are not JSON but String in Unicode notation enclosed in double
Azure Cognitive Search query results are not JSON but String in Unicode notation enclosed in double

Time:05-11

In the official documentation, the query result is shown in JSON notation with syntax highlighting as shown below.

In my environment, the query result of Azure Cognitive Search is not JSON, but a String with Unicode notation enclosed in double quotes.

How can I get the decoded string in JSON instead of unicode?enter image description here

"content\":\"\\n\\u30c6\\u30b9\\u30c8\\u7528\\u306e\\n\\nPDF\\u30d5\\u30a1\\u30a4\\u30eb\\u3067\\u3059\\u3002\\n\\n\\n\"

CodePudding user response:

THis is a known issue with the portal search explorer, and will be fixed sometime this week. In the meantime, if you use any other HTTP client such as Postman to do your queries, you should the results in JSON format as expected.

  • Related