<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Json on Bryan Avery</title><link>https://bryanavery.co.uk/categories/json/</link><description>Recent content in Json on Bryan Avery</description><generator>Hugo -- gohugo.io</generator><language>en-GB</language><copyright>© 2026 Bryan Avery.</copyright><lastBuildDate>Fri, 27 Sep 2019 13:24:28 +0000</lastBuildDate><atom:link href="https://bryanavery.co.uk/categories/json/index.xml" rel="self" type="application/rss+xml"/><item><title>High-performance JSON API</title><link>https://bryanavery.co.uk/high-performance-json-api/</link><pubDate>Fri, 27 Sep 2019 13:24:28 +0000</pubDate><guid>https://bryanavery.co.uk/high-performance-json-api/</guid><description>&lt;h3&gt;Raw System.Text.Json&lt;/h3&gt;&#10;&lt;p&gt;.NET Core 3.0, has shipped with the new &lt;code&gt;System.Text.Json&lt;/code&gt; APIs, which provides built-in support for JSON, including reader/writer, read-only DOM, and serializer/deserializer. With the performance, the main improvement to the methods, check and see the typical speedups of up to 2x over Json.NET.&lt;/p&gt;</description></item><item><title>Generate C# Classes from JSON Responses</title><link>https://bryanavery.co.uk/generate-c-classes-from-json-responses/</link><pubDate>Mon, 09 Apr 2018 07:27:30 +0000</pubDate><guid>https://bryanavery.co.uk/generate-c-classes-from-json-responses/</guid><description>&lt;p&gt;Well, as web developers, we are always dealing with JSON data which are coming from different sources. Either we are serialising our entities, or it’s coming from the external sources like third-party services and so on.&lt;/p&gt;</description></item><item><title>Parse JSON into a C# Object</title><link>https://bryanavery.co.uk/parse-json-into-a-c-object/</link><pubDate>Thu, 09 Nov 2017 09:17:41 +0000</pubDate><guid>https://bryanavery.co.uk/parse-json-into-a-c-object/</guid><description>&lt;p&gt;Let’s start with a simple JSON string. In most cases, you will get this string from a web service call. For the sake of this tutorial, we will do this manually.&lt;/p&gt;&#10;&lt;pre&gt;&lt;code class="hljs actionscript"&gt;&lt;span class="hljs-keyword"&gt;var&lt;/span&gt; example1 = @&lt;span class="hljs-string"&gt;"{"&lt;/span&gt;&lt;span class="hljs-string"&gt;"name"&lt;/span&gt;&lt;span class="hljs-string"&gt;":"&lt;/span&gt;&lt;span class="hljs-string"&gt;"John Doe"&lt;/span&gt;&lt;span class="hljs-string"&gt;","&lt;/span&gt;&lt;span class="hljs-string"&gt;"age"&lt;/span&gt;&lt;span class="hljs-string"&gt;":20}"&lt;/span&gt;;&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;p&gt;&lt;code&gt;example1&lt;/code&gt; is a simple JSON object with 2 fields: name and age.&lt;/p&gt;</description></item></channel></rss>