cancel
Showing results for 
Search instead for 
Did you mean: 

Use and read JSON in Business Central

Use and read JSON in Business Central

When you work with web services and APIs that are created as REST services, you'll need to work with JavaScript Object Notation (JSON) data. JSON is a lightweight file format that is used for storing and exchanging data between clients. It's an open standard format that is based on a collection of key/value pairs. JSON uses the JavaScript syntax, but its format is text only. This text can be read and used as a data format by any programming language.

AL in Business Central also has built-in support for working with JSON data. These JSON classes are used for simple data transfer. You can't use the JSON data types as a data type for fields in a table, but you can create variables with the JSON data types.

These classes are an implementation of the System.Json classes from the .NET Framework:

  • JsonToken

  • JsonArray

  • JsonObject

  • JsonValue

All JSON types are reference types, not value types.

agile and scrum training courses malaysia