Back to Devexpress

Specify JSON Data Location

windowsforms-403155-common-features-data-source-wizard-wizard-pages-connect-to-a-json-data-source-specify-json-data-location.md

latest1.2 KB
Original Source

Specify JSON Data Location

  • Sep 21, 2024

This wizard page allows you to specify a Web Service Endpoint URI, a filename, or a string with JSON content. If you choose the Web Service Endpoint option, you can configure a connection string with URI path parameters and query parameters.

Specify a web service endpoint

Specify a JSON file

Specify a JSON string

Note

Your project should reference the System.Text.Json library to supply JSON data at runtime. The wizard detects whether your project references this library and suggests to install the required NuGet package if necessary. Set the DevExpress.DataAccess.Native.Json.JsonLoaderHelper.ProcessingLibrary property to NewtonsoftJson to use the Newtonsoft.Json library instead.