Tuesday, August 07, 2018

Creating a JSON File in C#

JSON (JavaScript Object Notation) is a lightweight data interchanging format. It's based on a subset of the JavaScript language. JSON is a text format and it is completely language independent. JSON is easy for humans to read and write, and it's easy for code to parse and generate. It's an alternative to XML, natively supporting basic data types. The syntax that is used in JavaScript and JSON itself stands for "JavaScript Object Notation."
JSON is built on two structures:
  • A collection of name/value pairs. In different languages, this is realized as an object, record, structure, dictionary, hash table, keyed list, or associative array.
  • An ordered list of values. In most languages, JSON is realized as an array, vector, list, or sequence.

No comments:

Post a Comment

Mocking API Responses in Azure API Management Portal

A mock API imitates a real API call by providing a realistic JSON or XML response to the requester. Mock APIs can be designed on a developer...