Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

toJson is not a function #11745


User avatar
0
fyxbody created

Prerequisites:

  • What is your product version? - v 12.2

  • What is your product type (Angular or MVC)? - Angular

  • What is product framework type (.net framework or .net core)? -.net core

I am receiving error saying toJson is not a function. Please have a look.


5 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @fyxbody

    Is it possible to share the service-proxies.ts file ? You can share it with [email protected].

  • User Avatar
    0
    fyxbody created

    Hi ,I wanted to inform you that I have sent an email containing my code for review. I kindly request your assistance in reviewing the code and providing a solution to the issues I've encountered.

    Your prompt attention to this matter would be greatly appreciated.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @fyxbody

    We got your email and we can continue via email for this issue.

  • User Avatar
    0
    fyxbody created

    I have emailed you the source code along with some snapshots so that you can trace the steps and reach that issue.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Our team replied via email. I similar issue can be found on https://github.com/RicoSuter/NSwag/issues/2862#issuecomment-680694864. This happens when you insert a different type to the array.