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

  • Home
  • SEARCH
  • 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 9207525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T00:24:24+00:00 2026-06-18T00:24:24+00:00

I have some JSON being sent to me that breaks when it is trying

  • 0

I have some JSON being sent to me that breaks when it is trying to be deserialized. It seems to contain a black diamond with a ? in it. I cannot see the character but it is obviously there and it is failing on my system.

How do I get rid of this and still leave my JSON intact for deserialization?

UPDATE:

Here is a example of what will be in the middle of my JSON:

"UDF5" : "�65",

I am even open to just removing this property from my JSON altogether via RegEx.

  • 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-18T00:24:26+00:00Added an answer on June 18, 2026 at 12:24 am

    As answered for: remove piece of string (JSON string ) with regex and based on the formatting you provide in that question (and I am assuming will edit into this one):

    Assuming I can rely on the formatting you show above and it is one of these per regex being run this can be accomplished as simply as something like

    ([\S\s]*\"])\"UDF5\" : \"[\S\s]*?\",([\S\s]*)

    Using the back reference $1$2 referencing the parts before and after the UDF5 field to write back out.

    If there is a newline there to remove I am not doing it right now. This could be better – if someone else has time to correct or provide an additional answer. But in the interests of getting you an emergency fix I hope this helps.

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

Sidebar

Related Questions

I have the following JSON data being returned, but for some reason, Javascript or
Inside my .aspx I have some JSON code that looks like this: function someFunctionName()
I have some data that I have to serialize to JSON. I'm using JSON.NET.
I have a POCO class that is being sent to the browser as a
Im trying to append some JSON data from the last.fm API, I have been
I have some input checkboxes that are being dynamically generated in a $.post callback
I have some Json being returned from facebook which I'm then parsing in to
I have some PHP script that logs in and returns a JSON array with
I have a file that contains some JSON with an extension of .json. I
I have some code that requests some JSON from an API. When data is

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.