Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8392079
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T19:25:40+00:00 2026-06-09T19:25:40+00:00

Im receiving quirky issues with my json data from my asp.net MVC WebApi coming

  • 0

Im receiving quirky issues with my json data from my asp.net MVC WebApi coming into my kendoUI controls because null strings are being sent across as

"FielName":null

Im wondering how do I go about setting up the jsonformatter on my webapi so that string fields with a null value return empty string “” instead of Null like? So looks like.

"FieldName":""

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T19:25:41+00:00Added an answer on June 9, 2026 at 7:25 pm

    You can look to modify the JsonFormatter and change it’s ContractResolver to be something a little different. This question: Serializing null in JSON.NET looks like it could be easily adapted for your purposes (just by updating the default JsonFormatter).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My app is receiving data from a BlueTooth device 4 times a second, parsing
Receiving and sending data with JSON is done with simple HTTP requests. Whereas in
I am receiving JSON string response from my WCF service. I wanna parse this
Am receiving null from json post using jquery. see my code below in order.
I'm receiving .NET's DateTime object as json string through my asmx webservice and trying
I've been receiving unexpected data from my web app. Can a hacker change values
Why am I receiving this Rake error: $ rake --version /Volumes/Data/sampablokuper/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not
Upon receiving a TCP RST packet, will the host drop all the remaining data
After receiving very good correction from fuzzy lollipop, I amended my code to create
I'm receiving errors from Gtk that I can't track down. Every time my mouse

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.