Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

json

Can I set an unlimited length for maxJsonLength in web.config?

September 3, 2022 by Magenaut

I am using the autocomplete feature of jQuery. When I try to retrieve the list of more then 17000 records (each won’t have more than 10 char length), it’s exceeding the length and throws the error:

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, json Leave a comment

How do I format a Microsoft JSON date?

September 3, 2022 by Magenaut

I’m taking my first crack at Ajax with jQuery. I’m getting my data onto my page, but I’m having some trouble with the JSON data that is returned for Date data types. Basically, I’m getting a string back that looks like this:

Categories ASP.NET, Q&A Tags ajax, asp.net, jquery, json Leave a comment

What is the difference between PreserveReferencesHandling and ReferenceLoopHandling in Json.Net?

September 3, 2022 by Magenaut

I am looking at one WebAPI application sample that has this coded:

Categories ASP.NET, Q&A Tags asp.net, asp.net-web-api, c#, json, json.net Leave a comment

How to receive JSON as an MVC 5 action method parameter

September 3, 2022 by Magenaut

I have been trying the whole afternoon crawling through the web trying to receive a JSON object in the action controller.

Categories ASP.NET, Q&A Tags actionmethod, asp.net, asp.net-mvc, json Leave a comment

How do I create a Dto in C# Asp.Net from a fairly complex Json Response

September 3, 2022 by Magenaut

I have called an Api and received this response using RestSharp. I have no control over the structure of the Json response.

Categories ASP.NET, Q&A Tags asp.net, c#, json Leave a comment

jQuery returning “parsererror” for ajax request

September 3, 2022 by Magenaut

Been getting a “parsererror” from jquery for an Ajax request, I have tried changing the POST to a GET, returning the data in a few different ways (creating classes, etc.) but I cant seem to figure out what the problem is.

Categories ASP.NET, Q&A Tags asp.net, c#, javascript, jquery, json Leave a comment

Proper JSON serialization in MVC 4

September 3, 2022 by Magenaut

I’d like to have JSON ‘properly’ serialized (camelCase), and the ability to change date formats if necessary.

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, asp.net-mvc-4, c#, json Leave a comment

Returning JSON object from an ASP.NET page

September 2, 2022 by Magenaut

In my particular situation, I have a couple of solutions to my problem. I want to find out which one is more feasible. In this case, I can also achieve my goal by returning a JSON object from my server side code; however, I do not know how it is done and what the best way of doing it is.

Categories ASP.NET, Q&A Tags asp.net, json Leave a comment

Convert JSON String to JSON Object c#

September 2, 2022 by Magenaut

I have this String stored in my database:

Categories ASP.NET, Q&A Tags asp.net, c#, json, parsing, string Leave a comment

Cannot deserialize the current JSON array (e.g. [1,2,3]) into type

September 2, 2022 by Magenaut

I have a class like this:

Categories ASP.NET, Q&A Tags asp.net, c#, deserialization, json Leave a comment
Older posts
Newer posts
← Previous Page1 … Page3 Page4 Page5 … Page30 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress