Skip to content

Search Site

Home
  • Home
  • Yumasoft – Main Website

Tag: json.net

Home » json.net
August 15, 2021 Programming

How To Fix JSON.NET Circular References ($ref) In JavaScript

Yumasoft - how to solve JSON.NET circular references, featured photo

If you work with a .NET backend that uses JSON.NET for serialization, you might encounter such weird things in the JSON result returned from a controller:

JSON result from ASP.NET controller with $ref: "1" instead of a real object. Example of JSON.NET circular references

But what you actually want is the real object present there:

JSON result from ASP.NET controller with $ref: "1" replaced with a real object's content

After reading this article, you will know how to achieve that ?

Continue reading

Recent Posts

  • Technologies We Are Looking At In 2023
  • DevConf 2022
  • Why Do You Attend IT Conferences – For Talks or For People?
  • What Do People Talk About At Programming Conferences In 2022?
  • How Does Attending An In-person Conference Feel After The Pandemic?

Archives

  • January 2023
  • September 2022
  • May 2022
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • February 2021
  • November 2020
  • August 2020
  • May 2020
  • April 2020
  • March 2020

Categories

  • Conferences
  • Programming
  • Remote work
  • Technology

CONTACT

Yumasoft sp. z o.o
12 Walbrzyska Street, 52-314 Wroclaw, Poland
tel. + 48 71 784 41 00
yumasoft@yumasoft.pl
2023 © YumasoftTheme by SiteOrigin